I've only used regular expressions a couple of times before and never in PHP so need a little help. I am reading in an external html document (which regular changes) into a variable. I then need to extract a section of it which starts:
<table class="data">
and finishes:
</table>
I'm thinking regular expressions are the way to pull out just this section on the fly. I have looked at prog_match_all but not sure on the pattern to use.
Thanks, Mark.
Finger
10:01 pm on Apr 20, 2006 (gmt 0)
A regular expression would work, but you could also do it with explodes like this: