in reply to Extracting a substring from HTML
The right way of doing almost anything with HTML is to use the appropriate module. The appropriate module depends somewhat on the task. In this case I'd guess HTML::TreeBuilder is what you want.
Life is too short to reinvent complicated wheels, and regexen for parsing HTML are complicated wheels indeed.
If you need any help using TreeBuilder show us what you have tried with a very small (but complete) code sample showing the issue and a very small data sample as required to show the issue.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Extracting a substring from HTML
by richill (Monk) on Sep 10, 2006 at 10:17 UTC | |
by ait (Hermit) on Sep 10, 2006 at 18:39 UTC | |
by Anonymous Monk on Sep 10, 2006 at 18:18 UTC |