4
I’m needing to capture some Divs information that are sometimes separated by breaking lines, and this makes the operator (.*)
capture not.
For example, I have 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 published here.
Should match,
revenge
,revenge
,\n
,revenge.html
andhttp://i.imgur.com/1leadWY.jpg
that would be it?– rray
Yes @rray .......
– Vinícius Lara