2014-04-09 40 views
1

我在嘗試將Google Analytics漏斗步驟的正則表達式放在一起時遇到了一些問題。Google Analytics漏斗步驟的正則表達式

這是我到目前爲止有:

^/SpecificTextString /.*/ AnyTextStringWithExclusions

我掙扎位是AnyTextStringWithExclusions。這應該與以下除外匹配任何文本字符串:

  • Web_phonecall
  • phonecall

所有建議都會受到歡迎!

感謝

回答

1

試試這個:

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

這裏有regexr演示:http://regexr.com/38orq

(上regexr.com表達略有不同,因爲regexr迫使你逃避正斜槓)

相關問題