Regular Expressions 101

Library entries

Validates argentinian postal code

Vote

3

Regular Expression
pcre

/
(?i)(^[a-hj-np-z][\d]{4}[a-z]{3}$|^[\d]{4}$)
/
gm

Description

Loading markdown...
Submitted by Agustín Bouillet - 5 years ago