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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Formato RUT (identificación personal Chile)
Expression
^\d{1,2}\.\d{3}\.\d{3}[-][0-9kK]{1}$
Description
Verifica que un RUT tenga el formato 00.000.000-X, despues de comprobar el formato será necesario validar su dígito verificador.
Matches
12.025.365-6 | 5.698.124-k | 7.999.647-K
Non-Matches
125.326.452-1 | 15.336.054-H | 15254587k
Author Rating: The rating for this expression. Víctor Herrera Montoya
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: Rut
Name: Andrés
Date: 6/10/2011 1:05:43 PM
Comment:
Esta expresión funciona perfecto. Para validar campos en INFOPATH tube que modificarla minimamente quedando de la forma siguiente: \d{1,2}\.\d{3}\.\d{3}[\-][0-9kK]{1} Esta probada y funcionando. Gracias!! =)


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