Please help me with a simple regular expression for this . I want to replace reoccurring “^” in a string to empty.
INIT^^^ = INIT^
INIT^ = INIT^
^^INIT^ = ^INIT^
I need a regular expression that would pick the ^ anytime the character appear more than once following each other