I have various fields in a database which show the format that a string needs to be in in order for a user\'s code to match. E.g. \'A1234567\' (the letter \'A\' followed by