Depending on your definition of "special", something like this might work for you:
$str =~ tr/a-zA-Z//dc
In reply to Re: Removing Special Characters
by moritz
in thread Removing Special Characters
by Shaveta_Chawla
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |