Regular Expressions 101

Community Patterns

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 - a year ago (Last modified a year ago)