Reading time: < 1 minute

How to return tag contents with regular expressions
(Photo: Jeff Kubina)

As most of you already know, I LOVE regular expressions, and think they are great to solve simple and complex tasks involving strings.
One thing I usually need to do, is extract contents from inside HTML or XML tags.
Take the following XML document for example: Continue reading