#1. As the old programming adage goes: you had a problem and tried to solve it using regular expressions.
Jeremy Walker