Hi everyone — looking for guidance and also proposing a product enhancement.
We’re seeing a large volume of bot form submissions that follow a very consistent and predictable pattern in the local part of the email address.
The pattern involves repeated substrings, which is simple enough to detect using modern regex — but not possible using HubSpot’s current validation tooling.
The pattern looks like:
lastnamelastname.firstname@realemaildomain.com
No real individual exists for these submissions, and emails bounce.
Anyone else run into this?
What we’ve already tried
- Client-side JavaScript validation (bots bypass this by POSTing directly to the HubSpot forms endpoint)
- This rule for the email property, which Hubspot cannot support:
- ^(?![^@]*([A-Za-z]{3,})\1)[^@]+@[^@]+\.[^@]+$
- Standard HubSpot email validation rules
- CAPTCHA / anti-spam toggle
- Behavioral filtering (no cookie, 0 page views, offline source, etc.) after the contact is created… no luck so far here
- Honeypot fields - the bots appear too smart to fill in these hidden fields
- Workflows + suppression lists… can’t seem to add regex for the contact email field unless I upgrade to Ops Hub enterprise? Would prefer not to if possible, especially because at that point the bot is already in our CRM.
None of these prevent the bad contact from being created, which pollutes reporting, wastes marketing contacts, and frustrates the sales team.
How can we add better regex support for form fields?
At the very least, how can I filter these bots out asap in workflows if they do enter Hubspot?
What HubSpot Support confirmed
- HubSpot’s email validation uses the RE2 regex engine, which does not support advanced regex features like lookaheads, capture groups, or backreferences.
- There is no server-side validation layer where advanced pattern checks can run before the contact record is created.
- No native feature exists today to block contacts based on repeated-substring or structured email patterns.
- No announced roadmap items for advanced regex or pre-contact filtering.
Why this matters
These bots are highly consistent and trivial to detect with regex — but impossible to block natively in HubSpot. Cleaning them up post-creation isn’t ideal.
What I’m requesting
1. Support for advanced regex (lookaheads, backreferences, capture groups) in form field validation, especially for the Email property.
2. A server-side “pre-contact filter” layer allowing HubSpot to reject bad submissions before creating a contact record.
3. More granular workflow time filters (seconds/minutes) to detect “submits too fast to be human” behavioral patterns.
These enhancements would massively improve form hygiene and reduce CRM noise.
If anyone has additional workarounds to catch repeated-pattern emails before contact creation, I’d love to hear them — and I encourage HubSpot Product to consider expanding regex and server-side validation capabilities.
For reference, I’m a super admin on a Marketing Hub Professional account with Sales Pro and Service Pro seats.
Thanks!