in reply to regex to match one nasty javascript line

s/^.*src=//g;<br> s/'\+'//g;<br> s/\.jpg.*//g;<br> s/^"//g;<br> print<br> #publicdomain<br> # HINT: use a filehandle to get the string into $_, it's devilishly tr +icky without it...<br>

Replies are listed 'Best First'.
Re^2: regex to match one nasty javascript line
by Anonymous Monk on Nov 28, 2006 at 03:13 UTC
    shercat or w/e (sry, bad w/ names) did it better :-)