validate string
Posted: Sat Nov 15, 2008 7:10 am
hi there.
anyone can tell how can i validate a string like this one "EA786447551PT" using the preg_match() function, the string have 13 characters, the first two are alphanumeric and the last two the same, and only alpha and numeric are allowed.
can you give me some help with this ?
thanks in advance.
anyone can tell how can i validate a string like this one "EA786447551PT" using the preg_match() function, the string have 13 characters, the first two are alphanumeric and the last two the same, and only alpha and numeric are allowed.
can you give me some help with this ?
thanks in advance.