There might be, but it probably is grounded on regex
iamthwee
Posting Expert
5,950 posts since Aug 2005
Reputation Points: 1,543
Solved Threads: 439
If you're serious about html parsing etc, regex is the only way to fly.
iamthwee
Posting Expert
5,950 posts since Aug 2005
Reputation Points: 1,543
Solved Threads: 439
god thanks for the help. I don't know maybe I was hit in the head to many times as a child. I think what I'm hearing is, If I parse my content into arrays I can use different functions and switches and all that other funny stuff to manipulate the arrays to do my bidding. Is this so? Thanks, Dave
Yes, it is just that regular expressions provide greater flexibility when extracting stuff from html files. In your example you have used the tag and it probably works just fine. But what happens for all the other header tags ... ....
Of course you could still code that without regular expressions, but it is more of a pain.
iamthwee
Posting Expert
5,950 posts since Aug 2005
Reputation Points: 1,543
Solved Threads: 439