The stupid question is the question not asked | |
PerlMonks |
How do I remove consecutive pairs of characters?by faq_monk (Initiate) |
on Oct 08, 1999 at 00:20 UTC ( [id://592]=perlfaq nodetype: print w/replies, xml ) | Need Help?? |
Current Perl documentation can be found at perldoc.perl.org. Here is our local, out-dated (pre-5.6) version:
To turn
s/(.)\1/$1/g;
|
|