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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Validation of Mexican RFC for tax payers (individuals)
Expression
Validation of Mexican RFC for tax payers (individuals)
Description
This is the expression to validate the personal key for tax payers in Mexico (called RFC) as individuals (not for enterprises).
Matches
TERJ561231|TERJ561231WE3|TERJ561231789|TERJ5612311H1|TERJ561231REV
Non-Matches
terj561232|TERJ561231ef5|terj5612313h3
Author Rating: Not yet rated. Julio César Plascencia
Source ([A-Z]{4})(\d{2})(0[1-9]|1[0-2])([0-2]\d|3[0-1])((([A-Z]{3})|(\d{3})|([A-Z]{2}\d)|(\d{2}[A-Z])|([A-Z]\d{2})|(\d[A-Z]{2})|([A-Z]\d[A-Z])|(\d[A-Z]\d)*))
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

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