in reply to REGEX with input file
Perhaps you can show us some of that code.
CountZero
"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law