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

Please support RegExLib Sponsors

Sponsors

Expressions by User

   Displaying page 1 of 1 pages; Items 1 to 1
Title Test Details National Drug Code
Expression
\d{4}-\d{4}-\d{2}|\d{5}-\d{3}-\d{2}|\d{5}-\d{4}-\d{1}|\d{5}-\*\d{3}-\d{2}
Description
http://en.wikipedia.org/wiki/National_Drug_Code
Matches
1234-5678-90 | 12345-678-90 | 12345-6789-0 | 49981-*007-01
Non-Matches
1234-56-8-90 | 123-45678-90 | 1-345-6789-0
Author Rating: The rating for this expression. Tom Struzik
   Displaying page 1 of 1 pages; Items 1 to 1

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