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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find VAT Numbers format verification (IE)
Expression
(IE-?)?[0-9][0-9A-Z\+\*][0-9]{5}[A-Z]
Description
VAT Numbers format verification (Ireland) with support for optional member state definition.
Matches
IE4*12345Z | 0012345K
Non-Matches
IE4-12345Z | 00123456
Author Rating: The rating for this expression. Vassilis Petroulias
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: not needed escape?
Name: tom
Date: 11/26/2010 10:35:22 AM
Comment:
Why you escape + and * in [], they are not special characters when in character_group. This patter allows IE4\12345Z but shouldn't I guess.


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