Method to extract certain data from a string
Posted: Thu Mar 15, 2007 8:54 pm
I'd like to pick up a sequence of numbers from a string of HTML.
The numbers always follow a certain sequence of HTML, say:
<unique html>hello</unique html>NUMBERS I WANT</td><more unique html>2nd GROUP OF NUMBERS I WANT</more unique html>
How can I then parse the string to extract the numbers I want, assuming that I can identify a bit of unique html before the numbers?
The numbers always follow a certain sequence of HTML, say:
<unique html>hello</unique html>NUMBERS I WANT</td><more unique html>2nd GROUP OF NUMBERS I WANT</more unique html>
How can I then parse the string to extract the numbers I want, assuming that I can identify a bit of unique html before the numbers?