I sympathize. The task is easily accomplished with a properly coded regular expression but, damn, regex is haaaard. Also, there are too many gotchas in parsing random text. It's a no-win situation sometimes. Doing nothing might be the better idea.