There must be a
pattern in your record for the regex to match. It is easiest if you give a number of practical examples and then we can all have a go at drafting a regex to match those examples.
CountZero
"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law