Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
<(.*)>; *rel="(.*)"
/
giU

Description

A regular expression to parse a HTML 'Link' header.

Submitted by James Furey - 11 years ago