D
DotNetNewbie
Hi,
I want to replace all consecutive (2 or more) dashes into a single
dash.
So text like "hello--world is-cool------ok?"
should become "hello-word is-cool-ok?"
so it doesn't effect anything except replace all consecutive dashes
into a single dash.
What would the regex look like?
I want to replace all consecutive (2 or more) dashes into a single
dash.
So text like "hello--world is-cool------ok?"
should become "hello-word is-cool-ok?"
so it doesn't effect anything except replace all consecutive dashes
into a single dash.
What would the regex look like?