It might be a primitve question but how to replace all parentheses and espace by _?
$str =~ s/\s|\(|\)/_/g;
and to replace the \n by space, this doesn't work
$str =~ s/\n/\s/;In reply to Reg exp questions by carolw
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |