Regular Expressions 101

Community Patterns

1...34567...284

Country code with 2 letters (List)

0

Regular Expression
Python

r"
^uk|es|de$
"
gm

Description

That is an example that shows how to match a country code 2 letters for a list of possible matches

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