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 indian tin number
Expression
^(3[0-5]|[012][0-9]|[1-9])\d{9}$
Description
It consists of 11 digit numerals and will be unique throughout the country. First two characters will represent the State Code as used by the Union Ministry of Home Affairs.
Matches
starting with 01 to 35
Non-Matches
starting with 0 and above 36
Author Rating: Not yet rated. Rohan Khude
Title Test Details Indian PAN number code
Expression
/[a-z]{3}[cphfatblj][a-z]\d{4}[a-z]/i
Description
First 5 letters, next 4 numerals, last character letter.This also validates the fourth character as one of C,P,H,F,A,T,B,L,J,G and it uses the case insensitive flag
Matches
AAAAA9999A | aaaaa9999a
Non-Matches
AAAAA99999 | 11111aaaaa
Author Rating: The rating for this expression. Rohan Khude
   Displaying page 1 of 1 pages; Items 1 to 2

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