I am using a language where the syntax is regex_replace(string, pattern, replacement_string)
.
I have a few strings which look like this s=123-21785-15643411
.
I am looking for a pattern to replace s
with 1232178515643411
.
What would be the pattern such that I can do regex_replace(s, pattern, '')
and remove the hyphens from my string?