Regular Expressions 101

Library entries

Canadian Postal Code

Vote

0

Regular Expression
javascript

/
^[ABCEGHJ-NPRSTVXY][0-9][ABCEGHJ-NPRSTV-Z][ ]?[0-9][ABCEGHJ-NPRSTV-Z][0-9]$
/

Description

Loading markdown...
Submitted by Jonathan Lafleur - 2 months ago