Regular Expressions 101

Library entries

Extract root domain from URL

Vote

0

Regular Expression
pcre

/
(?:[^:]+:\/\/)(?:www\.)*([.a-z0-9]+)+
/

Description

Loading markdown...
Submitted by randywolf244 - 2 months ago