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 Valid Medicare HIC number
Expression
(?![A-Z](\d)\1{5,})(^[A-Z]{1,3}(\d{6}|\d{9})$)|(^\d{9}[A-Z][0-9|A-Z]?$)
Description
Matches valid Medicare HIC number according to CMS specifications
Matches
H123456 | XYZ123456789 | 123456789B
Non-Matches
H123 | H999999 | H1234XB
Author Rating: The rating for this expression. Brian Thiessen
   Displaying page 1 of 1 pages; Items 1 to 1

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