Filtering HTML out of…err… html in PHP

My PHP fu is predictably pitiful. I need to extract text from a free standing block of html and make sure I exclude stuff that’s text inside an anchor tag.

Now, to do so with significant alacrity do I invoke a “real” parser? Or do I just play regex games?

Meh.

Tags: , , , ,

One Response to “Filtering HTML out of…err… html in PHP”

  1. LeeAnn Says:

    *blink*
    Fire bad. Tree pretty.

Leave a Reply