Artist$matchtext = q(http://www.foo.bar/somepage.pl?); $substitutetext = "http://www.new.site/somenewpage\?"; s/\Q$matchtext\E/$substitutetext/;
In reply to Re: Regular Expressions and Question Marks
by artist
in thread Regular Expressions and Question Marks
by mr_dont
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |