Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
Created·2019-06-23 05:06
Flavor·PCRE (Legacy)

/
\bhttp(?:s)?(?::|;)\/\/(?!.+\.\.)(?'domain'.+?\..+?(?=\/|$| )).*?(?=$| )
/
gm
Open regex in editor

Description

Finds valid URLs (they have to start with "https://")

Submitted by chris mccoy