I would suggest checking out the Tutorials section or Learning Perl to learn more about regular expressions.$var =~ s/\,//g; # Substitute all commas with nothing $var =~ s/\$//g; # Substitute all dollar signs with nothing
In reply to Re: Removing commas and dollar signs from a variable.
by Rich36
in thread Removing commas and dollar signs from a variable.
by NodeReaper
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |