in reply to stripping
I'm not suggesting this approach is best but if the line looks exactly like that (or reasonably close) and none of the other lines do you might try something more specific than the other suggestions you've received. Maybe:
$text =~ s/(\$url\s*=\s*")\((.*?)\)/$1$2/;
-sauoq "My two cents aren't worth a dime.";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: stripping
by queue (Beadle) on Jan 04, 2003 at 16:59 UTC | |
by sauoq (Abbot) on Jan 04, 2003 at 22:53 UTC | |
by queue (Beadle) on Jan 05, 2003 at 14:39 UTC | |
by sauoq (Abbot) on Jan 05, 2003 at 23:11 UTC |