I've got a project right now that involves parsing web pages and looking for specific pieces of data - for example, getting a page back from FedEx and looking for the ship date, delivery date, and weight of a package. The carriers can change the format at any time, which means the regular expressions I'm now using are likely to break, and often. But I can't think of a better way (which perhaps reveals the extent of my Perl knowledge). Is there a better way?
It's not even possible to parse them on HTML tags, say, by looking for table tag groups, because there's all kinds of crazy HTML formatting "junk" data in between.
Any ideas welcome, thanks!
In reply to Better way?
by jen