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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find RFC (Registro Federal de Contribuyentes)
Expression
^(?<nombre>\D{4})(?<fechanac>\d{6})(?<homoclave>.{1}\D{1}\d{1})?$
Description
Validacion de Registro Federal de Contribuyentes (RFC). Para México. Valida 4 caracteres alfabéticos para el nombre, 4 numéricos para la fecha de nacimiento, y, opcional, 3 alfanuméricos para la homoclave, de los cuales, el primero puede ser numérico o alfabético, el segundo es alfabetico y el tercero siempre es numérico.
Matches
CAET7305157T4
Non-Matches
NA
Author Rating: Not yet rated. Hector Garcia
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

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