http://qs321.pair.com?node_id=181440


in reply to keeping one pattern but removing all else from a string

HTML::Parser is your best bet.

-- stefp -- check out TeXmacs wiki