Regular Expressions 101

Library entries

redirect to https and non www

Vote

1

Regular Expression
javascript

/
^.*?\b(?!www\.)((?:[\w-]+\.)+[\w-]+).*$
/
gm

Description

Loading markdown...
Submitted by anonymous - 6 years ago