Regular Expressions 101

Library entries

Extract [http|https] schemes from domain URL

Vote

1

Regular Expression
pcre

/
^(?:(https?):)?(\/\/.*\.[^\/]+)$
/
gm

Description

Loading markdown...
Submitted by divineniiquaye - a year ago