Skip to content

Instantly share code, notes, and snippets.

View hashaaan's full-sized avatar
🏠
Working from home

Hashan Shalitha hashaaan

🏠
Working from home
View GitHub Profile
// Sri Lankan Modern Licence Number Plate Regex //
FORMAT : PP LLL DDDD
PP - Province (SP, NW, WP, UP, CP, NC, SG, EP, NP)
LLL - 3 Letter
DDDD - 4 Digits
Regex : ^(SP|NW|WP|UP|CP|NC|SG|EP|NP{1,2})\s([A-Z]{1,3})\s([0-9]{4}(?<!0{4}))$