I'm not using any particular coding language, simply a program with "find" and "replace" where both fields use Regex. For example, the phrase
too many professionals
would turn into
tooo many professsionals
I want to "find" any occurrences of double letters, which I know I can do with
(.)\1
What confuses me is the "take the doubled letter and triple it" bit. Is there any symbol in Regex that refers to "the current character" or something like that?
EDIT: Thank you all for your suggestions. It turns out that the "replace" field does not, in fact, use Regex, which IMO is bullcrap, and my question is now worthless.