I need to capture some information from divs that are sometimes separated by line breaks, and this causes the (.*)
operator to not capture.
For example, I have the regular expression:
<div class="search tooltip box-video" search="(.*)" title="(.*)">(.*)<a href=" (.*)"><img src="(.*)" class="capa-poster" \/><\/a><\/div>
And I want you to marry HTML:
<a href="revenge.html">
<img src="http://i.imgur.com/1leadWY.jpg"class="capa-poster" /></a></div>
For testing I posted here .