I think this is a job for split+join:
perl -le 'print join "_", split /\W+/, "Hello ( World )"' Hello_World
the lowliest monk
In reply to Re: brackets help
by tlm
in thread brackets help
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |