How to RegEx?
-
Hi,
can any one help me to write a regex for below url?
?search={"AirportCode":"BHX","HotelCheckInDateAtStart":"16/06/2013","CarCollectionDate":"29/06/2013","RoomConfigs":[{"Adults":"2","Children":"0"},{"Adults":"2","Children":"0"}],"NumOfRoomConfigs":2,"NeedHotelAtEnd":false}
Thanks
-
Hi Aleyda, Thanks for looking into this. This is part of a url which is used in booking flow and i want to track this via google goal.
Thanks
Tahir
-
Hi there,
Could you please elaborate more and share an example of the type of input and also the result you want to obtain?
Thanks!
-
Hi Martijn,
Thanks for reply. This urls is part of funnel flow.
Tahir
-
Well with a regular expression it would be useful to know what you would like to expect to come out of the regular expression as we now only have the URL.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Rogerbot directives in robots.txt
I feel like I spend a lot of time setting false positives in my reports to ignore. Can I prevent Rogerbot from crawling pages I don't care about with robots.txt directives? For example., I have some page types with meta noindex and it reports these to me. Theoretically, I can block Rogerbot from these with a robots,txt directive and not have to deal with false positives.
Reporting & Analytics | | awilliams_kingston0 -
Unsolved Wild fluctuations in ranking, any thoughts on why or what to do about it?
We have a keyword which is important to us and used to have rock steady rankings for over a decade. Over the past 9 months or so it has been fluctuating all over the place. Jumping up or down 20 places or so overnight. Any thoughts on this behaviour and what we should be doing to stabilise the ranking?Screenshot 2024-05-13 at 09.47.jpg
Reporting & Analytics | | Hannahm240 -
Why are my positions going down?
Good afternoon! I would like to know, what could be the reasons for a random decrease in positions of our online casino? A lot of pages appeared in Google Search at the end of June and after a few weeks most of them dropped to >100, some are still ranging but in TOP 70-85. As far as I'm concerned, there were no algorithm updates last two months, our website works fine, both internal and external optimazation is being performed.. The strangest thing is that the rating of the website is growing, but the positions are not 😞
Reporting & Analytics | | Violete
Here is a link to the project: https://flammcasino.club/
Can anyone suggest what I can do in this case?1 -
How to filter blog pageviews using segments with regex
I must be overcomplicating this. I have a website with a blog structure that includes year subfolders, so: website.com/2019/blog-title, website.com/2018/blog-title, website.com/2017/blog-title, etc. I want to create a segment that I can apply in Site Content > All Pages to get quick stats for all blogs, regardless of year. (Pageviews, time on site, etc.) Unfortunately, Content Drilldown doesn't work well here as it is grouping by each year. I have tried setting up a segment using regex, but am getting a mixture of all pages, not just blog pages. I have set up the segment the following way: Advanced > Conditions > Page, Matches Regex, /2019/(.*?)/ Advanced > Conditions > Page, Matches Regex, /2018/(.*?)/ Advanced > Conditions > Page, Matches Regex, /2017/(.*?)/ Am I going about this all wrong? Is my regex wrong? Any advice is appreciated! Side note: glaringly obvious that now is the time to clean up my URLs. But I'd still love to see the data in its current URL state. Thank you!
Reporting & Analytics | | SoleGraphics0 -
ECommerce Tracking in Analytics - Should I use a plugin or do it manually?
Hi, I have a WordPress site (woocommerce integrated). I would like to know should I use a plugin to enable e-commerce tracking in Google Analytics or I should do it manually with GTM. Which is a better way? Will using a plugin to enable e-commerce tracking slow down my site? Any thoughts? Thanks in advance.
Reporting & Analytics | | Mr.Suren0 -
How to see organic traffic trend in GA?
Hi Guys, I want to identify whether organic landing pages in Google Analytics month on month (over 6 month period) have increased or decreased in traffic and whether the traffic trend is positive or negative. See attachment of the data. In total there are 500 pages, so it's just not feasible to review each organic chart for each organic landing page to view the trend. I’m sure there is some way to view this in Google Analytics, but just not sure how. Any suggestions? Cheers. 0Bnv85G.jpg
Reporting & Analytics | | spyaccounts140 -
How to filter out traffic from subdomain using regex?
Hi There, We have a test server that lives on a subdomain which we'd like to filter out in Google Analytics. We're using the hostname filter but are having trouble understanding the regex needed, we're using this as the filter pattern: .domain.com. Will that work? The profile is new so we can't test the pattern. Any pointers in the right direction would be much appreciated. Cheers Ben
Reporting & Analytics | | cmscss0 -
Regex Filter To Exlude lower case urls
Buon Pormeriggio from Wetherby 22 degrees the summer continues! I need to set up a regex filter to knock out lowecase versions of http://www.sandersonweatherall.co.uk/Sales/ Thing is Analytics is returning this lowercase version which i want to regex filter out.So if Regex filter /Sales/$ returns what i eant how do i knock out urls beginning with lowe case s. Grazie,
Reporting & Analytics | | Nightwing
David0