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

Please support RegExLib Sponsors

Sponsors

Expressions by User

   Displaying page 1 of 1 pages; Items 1 to 2
Title Test Details Phone Number (Singapore)
Expression
^[6]\d{7}$
Description
In Singapore, the first digit must start with a "6", and the rest is made up of 7 digits, which means that there are 8 digits in a Singapore's telephone number.
Matches
61234567 | 63829324 | 67654321
Non-Matches
6123-4567 | 6-CALL-CPY | 6123abcd
Author Rating: Not yet rated. test
Title Test Details 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
   Displaying page 1 of 1 pages; Items 1 to 2

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