Title |
Test
Find
International Passport
|
Expression |
^[A-Z0-9<]{9}[0-9]{1}[A-Z]{3}[0-9]{7}[A-Z]{1}[0-9]{7}[A-Z0-9<]{14}[0-9]{2}$ |
Description |
• 9 characters made up of a combination of numbers and/or letters. Where less than 9 characters it will be padded out to the right with chevrons (<).
• 1 number
• 3 letters
• 7 numbers
• 1 letter
• 7 numbers
• An international passport will have up to 14 characters in this field (numbers and/or letters). If none exist or where less than 14 characters exist, the field will be padded out, but only to the right, with chevrons (<). You should input the data exactly as it is shown on the actual passport field, i.e. input all chevrons to the left of the characters and do not ignore or leave these as blank spaces. Where less than 14 characters, the field will be padded out to the right with chevrons (<), i.e. Z1234567<<<<<
• 1 number
• 1 number |
Matches |
1234567890ABC1234567A1234567<<<<<<<<<<<<<<12 | 0123456781USD5656564M0812120AS34560<<<<<<<36 | G0308084<<1ITY9999999Q0410056<<<<<<<<<<<<<<39 |
Non-Matches |
ASDFER123AQWE!"%^<<<<<<<<<<<12 | QASASW3<<1WER3as12232<<AS | ABCDEF123AQQQ123456789A1<<<<<AS14 |
Author |
Rating:
Not yet rated.
Pradeep Dhiman
|
Source |
|
Your Rating |
|
Title: REGULAR EXPRESSION FOR COMMON TO ALL COUNTRY
Name: RIYA
Date: 12/14/2018 10:13:09 AM
Comment:
is passport expression is common for all country
Title: REGULAR EXPRESSION FOR COMMON TO ALL COUNTRY
Name: RIYA
Date: 12/14/2018 10:12:48 AM
Comment:
is passport expression is common for all country
Title: regular expression for india passport number
Name: ram
Date: 3/16/2012 9:01:07 AM
Comment:
hi i want code for passport number regular expression validator