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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Swift Number
Expression
^[a-zA-Z]{4}[a-zA-Z]{2}[a-zA-Z0-9]{2}[XXX0-9]{0,3}
Description
This is the regex for the bank Swift Number
Matches
NEDSZAJJ, NEDSZAJJXXX, NEDSZAJJ100
Non-Matches
NEDS ZA JJ, NEDS ZA JJ XXX, NEDS ZA JJ 100
Author Rating: The rating for this expression. Ryan Felton
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: Simplified version
Name: TFI
Date: 1/15/2019 10:28:03 AM
Comment:
^[a-zA-Z]{6}[a-zA-Z0-9]{2}[a-zA-Z0-9]{0,3}$


Title: NoName
Name: CoCoNet
Date: 5/16/2011 8:39:03 AM
Comment:
I partially disagree ^[a-zA-Z]{4}[a-zA-Z]{2} [a-zA-Z0-9]{1}[a-zA-Z1-9]{1}[a-zA-Z0-9]{0,3} for productive SWIFT BIC, ^[a-zA-Z]{4}[a-zA-Z]{2} [a-zA-Z0-9]{2}[a-zA-Z0-9]{0,3} including test SWIFT BIC


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