I am working on a piece of code that will look for adjacent
character repitions and remove them (for example, turning 'Matt' into 'Mat', 'momma' into 'moma', but leaving 'Ana' alone). Are there any efficient regexes that would work for this? My initial thoughts were to build a loop to go through each character (a-zA-Z), but there must be a better way. Thanks for all the help!