What everyone else is saying. If you're not using an HTML parser, you will have much more brittle code. Regular expressions, except in the most trivial cases, are harder to use correctly than any of the parsers.
In reply to Re: capturing between divs
by Your Mother
in thread capturing between divs
by sv123
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |