Community Patterns

Community Library Entry

1

Regular Expression
Created·2021-01-14 11:52
Flavor·PCRE (Legacy)

/
(?<=href=")(.+)(?="(( [a-z]+=)|>))
/
Ugm
Open regex in editor

Description

Even though using a delimiter within a string, without escaping it, is an illegal character, sometimes this still happens and we need to extract a HTML value.

Submitted by Sean O'Mahoney