Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

Description

Find any string between the first set of quotes

<a href="/foo/bar/"></a> <a href="/this/that/"></a>

Finds "/foo/bar/"

Submitted by Brian Caudill - 2 years ago