Regular Expressions 101

Community Patterns

head <link> parser

0

Regular Expression
PCRE2 (PHP >=7.3)

/
<link[\s]+rel="([^>"]*)"[\s]+href="([^>"]*)".*>
/
ig

Description

no description available

Submitted by anonymous - 3 years ago