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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Pattern Title
Expression
^(F-)?((2[A|B])|[0-9]{2})[0-9]{3}$
Description
Postcode check for France (including colonies) ----- Edited; sorry I didn't know about Corsica, no offense :)
Matches
12345 | F-12345 | F-2B100
Non-Matches
F12345 | F-123456 | 123456
Author Rating: Not yet rated. Henk de Vries
Source (suggested adjustment by Nima)
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: This does not include Corsica
Name: Nima
Date: 12/17/2003 8:07:33 AM
Comment:
correct expression would be ^(F-)?((2[A|B])|[0-9]{2})[0-9]{3}$ for exemple : F-2B100


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