Would a tool like this help:
http://gskinner.com/RegExr/
Personally I would write a small AWK script to parse the text. AWK is a fantastic tool to have in your arsenal for when you need to do text manipulation. It's less obtuse than Perl, but still really powerful for working with text.