Regular Expressions 101

Community Library Entry

0

Regular Expression
Python

r"
\b(?!(?:JR|SR|II|III|ESQ|PHD|MD)\b)\w+\b(?=\W*\w+\b)
"
gmi

Description

last last name wo suffix1

Submitted by josh - a year ago