Using RegEx In Insightech (With Examples)
Using Regular Expressions In Filters & Segments
Want to use RegEx in Insightech, but you're not sure where to begin? Here is a run-down to help you get started.
What are Regular Expressions?
A Regular Expression, REGEX or REGEXP for short, is a special text string for describing a search pattern.
Examples Of Targets
1. Wildcards (where * can be anything)
Target: www.example.com/user/<user_id>/profile/(numeric user_id)
2. Wildcards excluding a certain pattern
Target: All pages which match the pattern but do not include the word "article" or "post" www.example.com/pages/*/subpage/
3. Excluding certain words or patterns in a URL
Target: All pages which do not include "/somepage" and "/someotherpage"
Target: Pages which include the word "page" and do not include "somepage":
4. Multiple pages which don't follow any pattern
Target these three pages: