Loading ...
Sorry, an error occurred while loading the content.

29599Re: Regex basics help

Expand Messages
  • ju2ltd
    Sep 25, 2012
      Try this:

      ^(?!.*123).*product.*$

      Jim.

      --- In webanalytics@yahoogroups.com, WebberAnalytics Smith <webberanalytics@...> wrote:
      >
      > As a follow up to my original regex question, (I've googled this and have
      > not been successful!)
      > How do I build a regex for all pages that contain 'product' but NOT any
      > pages that contain 'product123'? Essentially I want all goal URLs in GA to
      > give me anything with 'product' but exclude the ones with 'product123'.
      >
      > Is this possible in GA goals?
      >
      > Thanks!
      >
      > On Wed, Sep 12, 2012 at 8:25 PM, WebberAnalytics Smith <
      > webberanalytics@...> wrote:
      >
      > > Hi All,
      > >
      > > Can anyone give me a quick 101 on regex in GA? Essentially I'd like to
      > > create a URL goal regular expression match for any pages that contain these
      > > 2 phrases in the URL: product and cart
      > > Essentiall my logic is give me any URLs where the URL contains both
      > > 'product' AND 'cart'.
      > >
      > > Help!
      > >
      > > Thanks
      > >
      >
      >
      > [Non-text portions of this message have been removed]
      >
    • Show all 9 messages in this topic