This is a chunk of HTML on the page, I'm just trying to match the /files/images/thumb/(imagename) of the thumbnails and put them in @imagesmy @content = get("$url$cnt"); my $content = join("\n", @content); push(@images, "http://www.imagebeaver.com/files/images/$1:$1") whil +e $content =~ m#/files/images/thumb/([a-zA-Z0-9]+\.jpg)#g;
b>Gallery 115564:</b><br><br><a href="http://www.imagebeaver.com/view. +php?mode=gallery&g=115564&photo=1" target="_blank"><img src="http://w +ww.imagebeaver.com/files/images/thumb/37021412066526319.jpg" border=" +0"></a> <a href="http://www.imagebeaver.com/view.php?mode=gallery&g=1 +15564&photo=2" target="_blank"><img src="http://www.imagebeaver.com/f +iles/images/thumb/99821412066526320.jpg" border="0"></a> <a href="htt +p://www.imagebeaver.com/view.php?mode=gallery&g=115564&photo=3" targe +t="_blank"><img src="http://www.imagebeaver.com/files/images/thumb/62 +341412066526321.jpg" border="0"></a> <a href="http://www.imagebeaver. +com/view.php?mode=gallery&g=115564&photo=4" target="_blank"><img src= +"http://www.imagebeaver.com/files/images/thumb/33641412066526322.jpg" + border="0"></a> <a href="http://www.imagebeaver.com/view.php?mode=ga +llery&g=115564&photo=5" target="_blank"><img src="http://www.imagebea +ver.com/files/images/thumb/5361412066526323.jpg" border="0"></a> <a . . .
In reply to regex hangs forever by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |