Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8311579
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T19:51:43+00:00 2026-06-08T19:51:43+00:00

Im in the process of learning regular expressions but still cant really wrap my

  • 0

Im in the process of learning regular expressions but still cant really wrap my head around it quite yet. However I need to create one for Google Analytics and was hoping someone could help out.

Currently my Goal page is head-match:

/checkout/cart?complete

and funnel step:

/checkout/onepage

The problem is that the funnel step could be several different slightly different URLs. It could be:

/checkout/onepage

/checkout/onepage/index

/checkout/multishipping/login

/checkout/multishipping/billing

/checkout/multishipping/shipping

Can anyone tell me what the expression would be to "lump" those 5 potential URLs as the same thing? Also, what would I change my Goal url to if the potential outcomes could be one of the below examples:

/checkout/cart?complete=10000245 <– (single order)

/checkout/cart?complete=10000245,10000246,10000247 <– (multiship order)

I know I would have to escape the question mark first but after that Im not sure.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T19:51:44+00:00Added an answer on June 8, 2026 at 7:51 pm

    For your goal page you’ll want to use the + ? and * operators.

    /checkout/cart\?complete(=(\d+,?)*)?
    

    For funnel you’ll want the | and ? operators

    /checkout/(onepage(/index)?|multishipping/(login|billing|shipping))
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm in the process of learning C++. But there's so much more that I
I've been learning regular expressions lately and am wondering if this is possible: I
I'm in the process of learning Objective-c but would like to run code snippets
I am learning regular expressions and I am trying to create one that will
I am in the process of learning WPF (I don't know much yet). I
So, I'm just beginning to understand Regular Expressions and I've found the learning curve
Im the process of learning C++. I got stuck debugging some of my code
On the process of learning Assembly i got one question If i do the
I'm in the process of learning Databases and SQL. From what I have read
I am in the process of learning about big oh notation. For the code

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.