Looking for some help on how to validate a string in PHP.
My string contains:
all in one entry, so like 1234A12345
.
I need to make sure/validate this before inserting in the DB.
Can one of the wizard help me out there?
This is a pretty simple regex:
/^\d{4}[a-zA-Z]\d{5}$/