Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
^\d{3}-?\d{2}-?\d{4}-?[a-zA-Z]
/

Description

Medicare ID Number (HICN) RegEx Pattern

Submitted by Ace Therapy - 8 years ago