in reply to Efficient way to do field validation

You need to define what you mean by "validate" before anyone can help :)
Also some more example input and expected output would help.


UPDATE: more detail was added to OP after I wrote this
  • Comment on Re: Efficient way to do field validation