Community Patterns

Community Library Entry

0

Regular Expression
Created·2022-01-12 20:48
Flavor·ECMAScript (JavaScript)

/
^(?:https?:)?(?:\/\/)?([^\/\?]+)
/
im
Open regex in editor

Description

getting the hostname from website

Submitted by anonymous