Regular Expressions 101

Community Library Entry

7

Regular Expression
Python

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

Description

IOS3166 Country Code Identification REGEX

Submitted by theitgeek@recu.org.uk - 10 years ago