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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Austria VAT Number
Expression
^(AT){0,1}[U]{0,1}[0-9]{8}$
Description
Vat number for Austria. Format is ATU12345678
Matches
ATU12345678 | ATU98752658 | ATU98765432
Non-Matches
ATb12345678 | ATu12345678 | ATU 1234567
Author Rating: The rating for this expression. Panayiotis Savva
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: wrong!
Name: "U" is mandatory not optional.
Date: 4/20/2009 10:04:06 AM
Comment:
There should be 9 characters after AT. And the first character should always be "U". NOT {0,1} correct version is : ^(AT){0,1}[U]{1}[0-9]{8}$


Title: wrong!
Name: "U" is mandatory not optional.
Date: 4/20/2009 10:03:54 AM
Comment:
There should be 9 characters after AT. And the first character should always be "U". NOT {0,1} correct version is : ^(AT){0,1}[U]{1}[0-9]{8}$


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