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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Pattern Title
Expression
(^\d{3}\x2E\d{3}\x2E\d{3}\x2D\d{2}$)
Description
Brazilian cpf
Matches
123.123.123-12
Non-Matches
123.123.103.32 | 123 123 123 12 | sa3.332.322-12
Author Rating: The rating for this expression. Carlos R. L. Rodrigues
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: Why require the dots?
Name: Daniel Serodio
Date: 8/10/2006 1:56:04 PM
Comment:
I think that ^\d{3}\x2E?\d{3}\x2E?\d{3}\x2D\d{2}$ would be better


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