Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
\(https:\/\/en\.wikipedia\.org\/wiki[^)]*\)
/
gm

Description

a regex that finds all expressions that start with "(https://en.wikipedia.org/wiki" and end with a closing bracket.

Submitted by David - 2 years ago