my $regex = quotemeta q{document.write(this.location.href.replace(/\?r +esultof.*$/i, ''));}; my $j =~ s/$regex/something else/;
#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.
In reply to Re: matching a "regex" expression
by kennethk
in thread matching a "regex" expression
by slugger415
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |