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.";
In reply to Re: stripping
by sauoq
in thread stripping
by wolverina
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |