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 1
Title Test Details RUT and RUN
Expression
^0*(\d{1,3}(\.?\d{3})*)\-?([\dkK])$
Description
Matches any-length chilean RUT (Rol Unico Tributario) and RUN (RUT (Rol Unico Nacional), with or without dots as thousand separator, and with or without hyphen as verification digit separator. Grab 1st and 3rd match for best results. Delete the dots from 1st match === Calza con RUT chileno (Rol Unico Tributario) y RUN (RUT (Rol Unico Nacional) de cualquier largo, con o sin puntos separadores de miles, y con o sin guion como separador de digitos verificador. Considerar el 1er y 3er calce para mejores resultados. Eliminar los puntos del 1er calce
Matches
12.348-k | 00012348-k | 12348K
Non-Matches
123.48-k | 1.2-4 | 12348-k
Author Rating: Not yet rated. Dinko Yaksic
   Displaying page 1 of 1 pages; Items 1 to 1

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