# Regex leadscore not working

**URL:** <https://community.hubspot.com/t/regex-leadscore-not-working/116457>\
**Category:** Lead Capture Tools\
**Tags:** website-pages\
**Created:** [September 17, 2024, 9:00am UTC](https://community.hubspot.com/t/regex-leadscore-not-working/116457 "2024-09-17T09:00:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![CvandenBroek](https://avatars.discourse-cdn.com/v4/letter/c/97f17d/32.png) [@CvandenBroek](https://community.hubspot.com/u/CvandenBroek)\
**Post date:** [September 17, 2024, 9:00am UTC](https://community.hubspot.com/t/regex-leadscore-not-working/116457/1 "2024-09-17T09:00:48Z")

</div>

When trying tot create a regex page view the data is not thowing when is test is. The Regex is working in the test case. Is it possible that the Hubspot landingpage domain is the issue?

---

<div class="post-metadata">

**Author:** ![Gaurav\_Aggarwal](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/gaurav_aggarwal/32/26578_2.png) [@Gaurav\_Aggarwal](https://community.hubspot.com/u/Gaurav_Aggarwal)\
**Post date:** [September 17, 2024, 2:07pm UTC](https://community.hubspot.com/t/regex-leadscore-not-working/116457/2 "2024-09-17T14:07:54Z")

</div>

Hey @CvandenBroek

Can you explain a bit more about the issue?

I can assume that you have created a landing page and connected a domain in HubSpot but the landing is still not opening?

---

<div class="post-metadata">

**Author:** ![CvandenBroek](https://avatars.discourse-cdn.com/v4/letter/c/97f17d/32.png) [@CvandenBroek](https://community.hubspot.com/u/CvandenBroek)\
**Post date:** [September 18, 2024, 10:14am UTC](https://community.hubspot.com/t/regex-leadscore-not-working/116457/3 "2024-09-18T10:14:52Z")

</div>

Hey Gaurav\_Aggarwal,  
Thank you for your reply. Yes that’s correct.  
We have multiple landing pages in HubSpot with multiple domains connected. When testing a leadscore on this page with page view url it works fine and we are getting data back. But when testing with the regex option (testet only with one url) Hubspot doesn’t register the page view. Our development departure has checked the regex and tried many sifferend ways to deal with this issue but can’t find the reason.  
The url we are measering is [Herfstspecial](https://campaign.pastridor.com/lp-downloads/be-nl/herfstspecial-2024). But with regex we are only using be-nl/herfstspecial-2024.  
So I was wondering if the problem could be that we are measuring a Hubspot domain ([campaign.pastridor.com](http://campaign.pastridor.com))  
Thank you for your help in advance
