Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
\b(10[.][0-9]{4,}(?:[.][0-9]+)*/(?:(?!["&\'])\S)+)\b
"

Description

Matches any valid DOI

Submitted by jpowell - 10 years ago