Community Patterns

Community Library Entry

1

Regular Expression
Created·2015-06-10 13:30
Flavor·ECMAScript (JavaScript)

/
^((https?)\:\/\/)(([a-z0-9])+\.)*(google\.com)
/
gmi
Open regex in editor

Description

tests to find if ("google.com") is the domain part of the URL

Submitted by anonymous