regex - Regular Expression in Google Analytics for two parts of string -


i need filter data in google analytics based on regular expression.

i need "if string contains "/secure//secure/common/callback" and, further down string contains words "true" include it.

i tried this: ^/secure//secure/common/callback*true

i added start there bunch of text in between "callback" , "true" returns 0 when should return thousands of records.

what regular expression use here?

use this:

^/secure//secure/common/callback.*?true 

. means character
.* means character repeated o or more times
.*? has same meaning except not greedy, matches less amount of characters possible, usefull if have more 1 matching (true in case) in string.


Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -