regex - Help decoding a regular expression for use with Google Analytics -
update
i missed in original explanation. set yesterday, , ran on night. no data populated in profile overnight. so, either regex wrong, or google cannot see internal traffic ips.
it seems has own variation on syntax regular expressions.
i'm trying include internal traffic on 1 of profiles in google analytics
can verify me expect regular expression match? in cider notation?
i don't know cider notation is, regex matches string that
- starts
10.
- followed
90.
or60.
- followed
10
or9
- followed 0 or more dots.
you want ^10\.[96]0\.(10|9)\..*$
since last bit (.*
) bit vague (unless know there ever valid ip addresses in live data), might want change \d+
or (if want restrict valid range 0 255) 25[0-5]|2[0-4]\d|1?\d?\d
Comments
Post a Comment