in reply to BBS HTML fitler
Regexen can only handle subsets of HTML. To do the job properly you'll need to use HTML::Parser or one of its subsclasses.