in reply to ugly regex question

That string looks like it's part of a larger table.

I think you can save yourself a lot of pain by using HTML::TableExtract.