but it's not even remotely elegant. I'll keep working on it.
In reply to Re^3: Another regex to solve ... by AR in thread Another regex to solve ... by pat_mc