Regular Expressions 101

Community Patterns

1...45678...294

Country 2 letters pattern (Any)

0

Regular Expression
Python

r"
^[a-z][a-z]$
"
gm

Description

That is an example that shows how to match any country code 2 letters pattern

Submitted by joaosr-adjust - a year ago (Last modified a year ago)