Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
^\d{2}$
/
gm
Input 1
# All POS codes should be 2 digits # NOTE: Single digits should have a leading 0 # It's possible data loading might drop this! This regex would therefore fail # This regex will also match codes that are currently unassigned # - https://www.cms.gov/medicare/coding-billing/place-of-service-codes/code-sets 01 04 10 55 99 # Checks 0A 1 9 A0 -- 990 010 **
Extraction
# All POS codes should be 2 digits # NOTE: Single digits should have a leading 0 # It's possible data loading might drop this! This regex would therefore fail # This regex will also match codes that are currently unassigned # - https://www.cms.gov/medicare/coding-billing/place-of-service-codes/code-sets 01 04 10 55 99 # Checks 0A 1 9 A0 -- 990 010 **