Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
([M]\d{1,4}T?|[AB]\d{1,4}M?)-[0-9]{1,4}[A|B|J|K|L|M]\d?
/
m

Description

A mechanism to validate the entry of the National Highways Geographic Locations

Submitted by anonymous - 3 years ago