Regular Expression for Alphabets in sequence followed by Digits (Numbers)

ash
 
on Apr 15, 2015 07:45 AM
4453 Views

i wanted the validation expression for id field. this field is such that it should contain the initial 3 upperspace characters and the next 7 as digits.

ex- DFG5667878,DSF2465789.

Download FREE API for Word, Excel and PDF in ASP.Net: Download
Mudassar
 
on Apr 15, 2015 07:46 AM

Try the following

([A-Z]{3}[\d]{7})$
^([A-Z]{3}[\d]{7})$