Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
\b[0-9|.]{1,10}\-[K|k|0-9]
/
gmi

Description

valida formato rut Chile 16.475.594-0 O 16475594-0

Submitted by Eduardo Gómez Catalan - 8 years ago