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 -
Is there a tool to check the SEO performance of articles from different websites?
Is there a tool to check the SEO performance of articles(like 100+ articles) from different websites in one place? I am looking for a tool where I can put several URLs of the articles we have published in bulk for many of our clients, and it can show me how those articles are performing. This way, we can check the performance of these articles at any time; there is no need to add URLs every time.
Reporting & Analytics | | Foxxr0 -
Hey DA of my website decreased last night what could be the reason?
Hey DA of my website decreased last night what could be the reason?
Reporting & Analytics | | mozmoz90 -
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 -
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 -
Need REGEX help
Hi Mozzers, I have multiple filters in one of the GA accounts I manage. I just created new pages that have URLs containing the keyword "spring" (location in texas) and wanted to filter out spring in the GA Spring profile(screenshot) . My issue is it will filter all the URLs containing the kw spring and the website has multiple blog post containing the same kw (spring). So what I need is a Regex formula so I can make sure I track only the Spring tx traffic and not the blog posts. Thanks for letting me know how can I do that! xejc38l.png
Reporting & Analytics | | Ideas-Money-Art0 -
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