Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
((?P<fname>[A-Za-zåé]+ ?[A-Za-zåé]+\.? ?)+ (?P<lname>[A-Za-zåé]+\.? ?))(?:(?:\d+,)+ ?)?
"
gm

Description

Get author names from shitty import

Submitted by anonymous - 2 years ago