in reply to Changing .html to .asp on some links but not others
Warning: the regex is untested but I believe it should work provided the links have quotations around the URL's.if ($_ !~ m/href=\"http:\/\/.+\.html/) { s/(href=.+?\.)html/$1asp/gi }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Changing .html to .asp on some links but not others
by isotope (Deacon) on May 02, 2001 at 01:15 UTC |