Hi there!
Need some help with an output that I'm getting back from a remote ASP page, (has to ASP coz it rus a Win32 executable)
Anyway,
I'm using Curl to post to the page and the output looks something like this
DON'T WANT THIS FIRST LINE<br />
OR THIS ONE<br />
OR THIS ONE<br />
OR THIS ONE<br />
OR THIS ONE<br />
OR THIS ONE<br />
<br />
?I WANT THIS LINE INCLUDING THE TWO Q.MARKS?<br />
?I WANT THIS LINE INCLUDING THE TWO Q.MARKS?<br />
?I WANT THIS LINE INCLUDING THE TWO Q.MARKS?<br />
?I WANT THIS LINE INCLUDING THE TWO Q.MARKS?<br />
?I WANT THIS LINE INCLUDING THE TWO Q.MARKS?<br />
?I WANT THIS LINE INCLUDING THE TWO Q.MARKS?<br />
?I WANT THIS LINE INCLUDING THE TWO Q.MARKS?<br />
?I WANT THIS LINE INCLUDING THE TWO Q.MARKS?<br />
Can anyone help me get PHP to read the lines of this output and strip out all the <br /> tags and grab the 8 lines that I want including the ? marks
Any help MUCH appreciated!
Thanks