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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Pattern Title
Expression
^[A][Z](.?)[0-9]{4}$
Description
Expression to test for valid postcodes for azerbaijan
Matches
AZ 1234 | AZ1234
Non-Matches
12 abcd | AB 1234
Author Rating: The rating for this expression. Matt Brooke
Source
Your Rating
Bad Good

Enter New Comment

Title

Name

Comment

Spammers suck - we apologize. Please enter the text shown below to enable your comment (not case sensitive - try as many times as you need to if the first ones are too hard):

Existing User Comments

Title: error in this regex
Name: Link
Date: 10/6/2023 7:46:35 PM
Comment:
. is used as a wildcard to match many symbols. I guess here what you need is a space symbol (E.g., ^[A][Z]( ?)[0-9]{4}$ )


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