J
jim_adams
I'd like to use regex to replace a specified character that repeats two
or more times with one instance of that character.
For example,
mystring = "a.....b"
regex squash (mystring, ".") -> "a.b"
Thanks for your help.
-Jim
or more times with one instance of that character.
For example,
mystring = "a.....b"
regex squash (mystring, ".") -> "a.b"
Thanks for your help.
-Jim