1
votes

I am having some issues trying to pull together a regular expression for a Google Analytics funnel step.

This is what I have so far:

^/SpecificTextString/.*/AnyTextStringWithExclusions

The bit I am struggling with is AnyTextStringWithExclusions. This should match any text string with the exception of the following:

  • Web_phonecall
  • phonecall

All suggestions will be gratefully received!

Thanks

1

1 Answers

1
votes

Try this:

^/SpecificTextString/.*/(?!Web_phonecall|phonecall)([a-zA-z]+)$

Here's a demo on regexr: http://regexr.com/38orq

(The expression on regexr.com is slightly different because regexr forces you to escape forward slashes)