Use
See perlop for more info.$string =~ tr/A-Za-z//s;
Examine what is said, not who speaks.
The 7th Rule of perl club is -- pearl clubs are easily damaged. Use a diamond club instead.
In reply to Re: Removing Adjacent Character Repititions
by BrowserUk
in thread Removing Adjacent Character Repititions
by jupe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |