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