Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Created·2022-12-22 14:14
Flavor·ECMAScript (JavaScript)

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

Description

This Regex checks if it's a valid hubspot domain

Submitted by anonymous