Regular Expressions 101

  • Python
  • Match
1

Regular Expression

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

Description

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

Submitted by miqui