Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
Python

r"
^[0-9][0-9]-[0-9][0-9]-[0-9][0-9]-[0-9][0-9]-[0-9][0-9][0-9]-[0-9][0-9][0-9]
"

Description

REGEX validator for Parcel IDs. Works for Michigan but may for other states if their parcel IDs have form "00-00-00-00-000-000".

Submitted by Lewis - 9 years ago