RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Expressions by User

   Displaying page 1 of 1 pages; Items 1 to 1
Title Test Details Pattern Title
Expression
^([A-Za-z]\d[A-Za-z][-]?\d[A-Za-z]\d)
Description
Regular expression to match a canadian postal code where it matches a string with or without the hyphen and in upercase or lowercase
Matches
a1a-1a1 | A1A1A1
Non-Matches
1a1-a1a | aaa-aaa | 111-111
Author Rating: The rating for this expression. Rico lour
   Displaying page 1 of 1 pages; Items 1 to 1

Copyright © 2001-2024, RegexAdvice.com | ASP.NET Tutorials