Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
(?<=href=")https?:\/\/.*(?=")
/
g

Description

Example

href="https://example.com"

Submitted by anonymous - 4 years ago (Last modified 4 years ago)