RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find UK Passport number
Expression
^[0-9]{10}GBR[0-9]{7}[U,M,F]{1}[0-9]{9}$
Description
The first field consist of 10 numbers, then 3 characters (GBP as its for UK passports), 7 numbers, 1 character and 7 numbers. The final field is for the 2 numbers at the right-hand end of the <<<<< symbols.
Matches
7086493126GBR6510204M150224602 | 1234567890GBP1234567F123456712 | 6098475322GBR6911225F140517400
Non-Matches
7086493126USD6510204M150224602 | 1234567890GBP1234567A123456712 | 60984753GBR6911225F1405174
Author Rating: Not yet rated. Pradeep Dhiman
Source
Your Rating
Bad Good

Enter New Comment

Title
 
Name
 
Comment
 
Spammers suck - we apologize. Please enter the text shown below to enable your comment (not case sensitive - try as many times as you need to if the first ones are too hard):

Existing User Comments

Title: UK Passport number
Name: KARL GEORGE LAKE
Date: 10/11/2018 8:16:21 PM
Comment:
523215413GBR8090075M020709800


Title: UK Passport number
Name: KARL GEORGE LAKE
Date: 10/11/2018 8:03:03 PM
Comment:
523215413GBR8090075M020709800


Title: UK Passport number
Name: KARL GEORGE LAKE
Date: 10/11/2018 8:02:57 PM
Comment:
523215413GBR8090075M020709800


Title: UK Passport number
Name: KARL GEORGE LAKE
Date: 10/11/2018 8:01:39 PM
Comment:
523215413GBR8090075M020709800


Title: UK Passport number
Name: Hannah Jane Turner
Date: 10/2/2017 6:48:19 PM
Comment:
2086833998GBR8907057F180826900


Title: UK PASSPORT NUMBER
Name: MICHAEL RICHARD HUGHES
Date: 9/3/2017 4:12:56 PM
Comment:
268441942grb5701155M1812122


Title: UK PASSPORT NUMBER
Name: MICHAEL RICHARD HUGHES
Date: 9/3/2017 4:07:33 PM
Comment:
268441942grb5701155M1812122


Title: UK PASSPORT NUMBER
Name: MICHAEL RICHARD HUGHES
Date: 9/3/2017 2:42:18 PM
Comment:
268441942grb5701155M1812122


Title: UK PASSPORT NUMBER
Name: MICHAEL RICHARD HUGHES
Date: 9/3/2017 2:26:20 PM
Comment:
268441942grb5701155M1812122


Title: UK passport number
Name: James Steven Wallace
Date: 1/16/2017 10:20:07 PM
Comment:
2086267245grb5801316M1710124


Title: Germany passport
Name: Leslie Michael Bagley
Date: 12/13/2016 9:04:41 PM
Comment:
324341551<<9383730H866396<<<<<<<<<<<<


Title: Germany passport
Name: Leslie Michael Bagley
Date: 12/13/2016 9:04:32 PM
Comment:
324341551<<9383730H866396<<<<<<<<<<<<


Title: Germany passport
Name: Leslie Michael Bagley
Date: 12/13/2016 8:47:57 PM
Comment:
324341551<<9383730H866396<<<<<<<<<<<<


Title: Germany passport
Name: Leslie Michael Bagley
Date: 12/13/2016 8:46:44 PM
Comment:
324341551<<9383730H866396<<<<<<<<<<<<


Title: Germany passport
Name: Leslie Michael Bagley
Date: 12/13/2016 7:29:38 PM
Comment:
324341551<<9383730H866396<<<<<<<<<<<<


Title: Germany passport
Name: Leslie Michael Bagley
Date: 12/13/2016 7:08:40 PM
Comment:
324341551<<9383730H866396<<<<<<<<<<<<


Title: Germany passport
Name: Leslie Michael Bagley
Date: 12/13/2016 7:05:16 PM
Comment:
324341551<<9383730H866396<<<<<<<<<<<<


Title: Germany passport
Name: Leslie Michael Bagley
Date: 12/13/2016 6:55:40 PM
Comment:
324341551<<9383730H866396<<<<<<<<<<<<


Copyright © 2001-2018, RegexAdvice.com | ASP.NET Tutorials