Hi everyone,
Could someone please help me with this regular expression,
this is the string:
<top cellpadding=2 ><tr><td valign=top><b>D VD</bduel:
<b>High</b>-<b>definition </bshowdown<br><f ont size=-1><font
color=6f6f6f>TM Cn vxcv etrwerwerwer <brsdfsd <bdfasdasd <br>
asdasda
I need to match everything from <td valign=topto the first <br>, like
this:
<td valign=top><b>D VD</bduel: <b>High</b>-<b>definition </b>
showdown<br>
These are the expressions i tried:
<td valign=top>.*<b r>
<td valign=top>.*<b r>{0,1}
<td valign=top>.*<b r>{1,1}
They all match everything untill the LAST break, and i only need first
occurrence of break <br>
:(
Thank you very much!
Could someone please help me with this regular expression,
this is the string:
<top cellpadding=2 ><tr><td valign=top><b>D VD</bduel:
<b>High</b>-<b>definition </bshowdown<br><f ont size=-1><font
color=6f6f6f>TM Cn vxcv etrwerwerwer <brsdfsd <bdfasdasd <br>
asdasda
I need to match everything from <td valign=topto the first <br>, like
this:
<td valign=top><b>D VD</bduel: <b>High</b>-<b>definition </b>
showdown<br>
These are the expressions i tried:
<td valign=top>.*<b r>
<td valign=top>.*<b r>{0,1}
<td valign=top>.*<b r>{1,1}
They all match everything untill the LAST break, and i only need first
occurrence of break <br>
:(
Thank you very much!
Comment