Hi,
I have the following issue:
my $s = "/metadata-files/test-desc.txt,/metadata-files/birthday.txt,/
web-media/images/bday-after-help.jpg,javascript:popUp('/pop-ups/
birthday/main.html','bday-pics',785,460);"
Now I want $s to be like: "/metadata-files/test-desc.txt,/metadata-
files/birthday.txt,/web-media/images/bday-after-help.jpg,/pop-ups/
birthday/main.html"
I have been working with:
$s =~ s/javascript:popup\('(.*)',(.*)/$1/gi;
But this gives me $s looking like this: "/metadata-files/levemir-
desc.txt,/metadata-files/levemir-keywords.txt,/web-media/images/
img_insulin_interactive.jpg,/pop-ups/why-insulin/
main.html','quickguide'"
How can I only I achieve what I am trying to ?
Any help or hints will be greatly appreciated.
Regards
Saya
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/