Title |
Test
Find
Valid Medicare HIC number
|
Expression |
(?\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:
Brian Thiessen
|
Source |
|
Your Rating |
|
Title: Very nice
Name: rhelm
Date: 10/21/2010 9:59:33 AM
Comment:
Thanks for posting this. Not exactly sure about the first group - why you're not allowing the same number more than 5 times - but I assume it's following guidelines somewhere.
Thanks for posting!