Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Created·2022-03-02 15:13
Flavor·PCRE2 (PHP)

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

Description

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

Submitted by anonymous