in reply to
How to remove all repeating characters in a string in place
s/(.)\g1+//g
[download]
It's all pretty much in the
Perl regex tutorial
although a little background and experience with regexes may help.
Ron
Comment on
Re: How to remove all repeating characters in a string in place
Download
Code
In Section
Seekers of Perl Wisdom