Regex combination of 2 urls: difference 1 word in between
I have 2 regex expressions that I need to combine into one. I'm looking for 1 regex that will validate both URLs below.
Re: Regex combination of 2 urls: difference 1 word in between
Re: Regex combination of 2 urls: difference 1 word in between[ Edited ]
December 2015 - last edited December 2015
You can try ^\/(cart.+done)(\W|$)
It assumes both URLs start with "/cart" (your 1st URL does not have a leading slash)
You can test the regex using http://www.analyticsmarket.com/freetools/regex-tester
Let me know if it works.
Arnold Majlath, Google Analytics Top Contributor
Was my response helpful? If yes, please accept it as solution.
Circle Me On Google+ | Visit me @ Redfly Digital