Regular Expressions 101

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
https:\/\/([a-z\.]{4})?([0-9]+.hs-sites|wthubspot|hubspot).com[\/]?
/
gm

Description

This Regex checks if it's a valid hubspot domain

Submitted by anonymous - 2 years ago