Regular Expressions 101

IOS3166 Country Code Identification REGEX

Open Workspace
  • Python
  • Substitution
7

Regular Expression

r"
(^.+?)\s+(\w{2})\s+(\w{3})\s+(\d{3})
"

Description

IOS3166 Country Code Identification REGEX

Submitted by theitgeek@recu.org.uk