"(\-)(.*)"
is the pattern, which will give you 2 matches if the string contains them.
solved Regular Expression to match first character and after a character [closed]
"(\-)(.*)"
is the pattern, which will give you 2 matches if the string contains them.
solved Regular Expression to match first character and after a character [closed]