Remove duplicate characters using a regular expression
- by Alex
I need to Match the second and subsequent occurances of the * character using a regular expression. I'm actually using the Replace method to remove them so here's some examples of before and after:
test* -> test* (no change)
*test* -> *test
test** *e -> test* e
Is it possible to do this with a regular expression?
Thanks