Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
^(11\-?001\-?)(0?[61]\-?)?(([1-9]{5,}|201[7-9]|20[2-9][0-9]|2[1-9][2-9][0-9])\-?)?[0-9]+$
/
gm

Description

Patrón de validación de un número de comparendo de Bogotá

Submitted by anonymous - 5 years ago