Get rid of '+' first, not last.
$js =~ s/'\+'//g; my ($url) = $js =~ m{(http://images\.site\.com/images/full/\d+/\d+/\d+ +\.jpg)};
In reply to Re: regex to match one nasty javascript line
by ikegami
in thread regex to match one nasty javascript line
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |