ansh batra has asked for the wisdom of the Perl Monks concerning the following question:
my data is
this is one line of input</div><div class='ClipPicture'><a href='http://www.laptop-keys.com/Key +boardKeys/Cart/Acer/A_Series/A110/A8A'><img alt='Clip Style Pic' src= +'http://www.laptop-keys.com/images/KeyboardImages/A8A.png' width='659 +' height='135'/></a></div><div class='RadioButtonContainerClipStyle'>
if($line=~ /<img .* src=\'(.*?)\' .*\/><\/a>/) { print "got2\n"; $kb_lay_img_url=$&; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: regular expression
by frozenwithjoy (Priest) on Jan 07, 2013 at 09:38 UTC | |
by ansh batra (Friar) on Jan 07, 2013 at 09:51 UTC | |
|
Re: regular expression
by choroba (Cardinal) on Jan 07, 2013 at 09:36 UTC | |
|
Re: regular expression (blah blah blah)
by Anonymous Monk on Jan 07, 2013 at 09:07 UTC | |
by ansh batra (Friar) on Jan 07, 2013 at 09:34 UTC | |
by Corion (Patriarch) on Jan 07, 2013 at 09:36 UTC | |
by Anonymous Monk on Jan 07, 2013 at 09:36 UTC | |
by frozenwithjoy (Priest) on Jan 07, 2013 at 09:44 UTC |