Regular Expressions 101

Community Patterns

Match <a href=...> attributes containing certain words.

0

Regular Expression
ECMAScript (JavaScript)

/
href="(http.+appl(?:y|ica).*?)"
/
g

Description

Matches all URLs inside of href attributes which start with "http(s)" and contain either "apply" or "applica".

Submitted by Jan Prazak - 3 years ago