Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
(?<=https:\/\/|http:\/\/).*
/
gm

Description

This regex made by me, finds any domain which contains https:// or the unsafe version, http://.

Submitted by Rix The Regex Maker - 3 years ago