I have a field on a form which displays the values from a text field from a table.
There are numerous formats (i.e. combinations of alpha and numeric characters) that the values can be in but I need to test if the value matches a specific format, e.g. nnn-nnnnn (where n is any numeric character from 0 to 9).
How can I do this? I thought it would be fairly straightforward but can't seem to figure out how best to do it?
Thanks.
There are numerous formats (i.e. combinations of alpha and numeric characters) that the values can be in but I need to test if the value matches a specific format, e.g. nnn-nnnnn (where n is any numeric character from 0 to 9).
How can I do this? I thought it would be fairly straightforward but can't seem to figure out how best to do it?
Thanks.