I am trying to write a Regular Expression that replaces the first 4 characters of a string with *s
For example, for the 123456 input, the expected output is ****56.
If the input length is less than 4 then return only *s.
For example, if the input is 123, the return value must be ***.