Hello Monks,
I'm trying to write this :
$var =~ s/\(//; $var =~ s/\)//;
in one line. I thought it'll be :
$var =~ s/[\(\)]//;
but this only remove the left one.
Thanks.
Have a nice day.
In reply to regex question by lepetitalbert
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |