Is there some way to combine the following 2 regex into one ?
actually, this particular example does 2 unique substitutions, how would you handle multiple substitutions (in conjnction with the above regex) ? e.g.$wrapper =~ s/\</</g; $wrapper =~ s/\>/>/g;
Thanks all.$wrapper =~ s/foo/bar/g; $wrapper =~ s/bar/foo/g; ...
In reply to Regular expression question by TASdvlper
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |