Hi Every1,
I am using the below regular expression to grab the Article title out of this html source:
Code:
<p class=NoSpacing><span style='font-size:10.0pt;font-family:"Times New Roman"'><b>ARTICLE
TITLE: </b> This is a Test title<o:p></o:p></span></p>
<p class=NoSpacing><span style='font-size:10.0pt;font-family:"Times New Roman"'><b>SELLING:
</b> Market Leading Products<o:p></o:p></span></p>
<p class=NoSpacing><span style='font-size:10.0pt;font-family:"Times New Roman"'><b>SELLING
TO: </b> High Profile Clients<o:p></o:p></span></p>
Regular Expression:
Code:
(?<=TITLE: </b>).+(?=<o:p></o:p></span></p>)
The problem i have is when it grabs the information it is not stopping when it reaches <o
></o
></span></p>, insted it is capturing everything until the last instance of <o
></o
></span></p>.
How do i rectify this?
Kind regards,
Chloe ~X~