Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dimanyc/270fe71dbafe8bdce7c0 to your computer and use it in GitHub Desktop.
Save dimanyc/270fe71dbafe8bdce7c0 to your computer and use it in GitHub Desktop.
Google Analytics RegEx cheatsheet

Common Google Analytics RegEx operators

^   beginning of string
$   end of string
.   any character (wildcard)
*   match 0 or more times
+   match 1 or more times 
?   match 0 or 1 time
|   alternative
()  grouping
[]  set op char
{}  repeition modifier
\   escape special char

credits to: http://online-metrics.com/regular-expressions/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment