in reply to Regular Expression
Perhaps you can show us a part of the input?
CountZero
"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law