Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
Python

r"
(^[A-Za-z]{2}$)
"

Description

States (US) 2 char format, matches: Ga or GA

Submitted by miqui - 10 years ago