in reply to string format validation

That's a rather odd format. Why put the field names in every record? It's rather redundant unless the fields are optional. If that's the case, the solutions provided by our fellow monks will need to be amended.