in reply to Removing Special Characters
One possibility would be to use a regular expression to remove the characters you don't want:
$str =~ s/[#\-%&\$*+()]//g;If you want to remove everything except alphanumeric characters and underscores, you can simplify it like this:
$str =~ s/\W//g;
|
|---|