Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
RE: RE: RE: Re: removing duplicate lettersby mdillon (Priest) |
on Jun 19, 2000 at 05:39 UTC ( [id://18756]=note: print w/replies, xml ) | Need Help?? |
if you want to talk about pedantic, your letters may not be the letters everyone else is using, so to take the locale into effect, you could do something like the following: s/([^\W\d_])\1/$1/g
In Section
Seekers of Perl Wisdom
|
|