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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find National Registry Identification Number (Singapore)
Expression
^[SFTG]\d{7}[A-Z]$
Description
The National Registry Identification Number (NRIC) of Singapore is made up of the first character being a S/F/T or G. The next 2 numbers is the year of birth for people born 1967 and later. The last character is a checksum done on the numbers, and the algorithm will not be released.
Matches
S9912345A | T1234567V | F0094839P
Non-Matches
K4928940829F | T1234567 | M1234567C
Author Rating: The rating for this expression. test
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: Case sensitive NRIN
Name: Case sensitive
Date: 2/21/2023 7:34:26 AM
Comment:
^[SFTGMsftgm]\d{7}[A-Za-z]$


Title: HTML5 Input Pattern
Name: Otokiru
Date: 12/10/2013 12:17:22 PM
Comment:
^([sStT]{1}\d{7}[a-jA-JzZ]{1}|[fFgG]{1}\d{7}[k-nK-Np-rP-RtTuUwWxX]{1})$ -------------- More explaination: http://www.arjun.com.np/blog/all-about-nric-number-in-singapore/


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