US English (US)
ES Spanish

Submit Article Requests

Do you have a suggestion for an article you would like to see created?
Feel free to submit this form and add your suggestions to our document board.

Please fill out the contact form below and we will reply as soon as possible.

  • Appcues Certifications & Training
  • Integration Hub
  • Contact Us
English (US)
US English (US)
ES Spanish
  • Docs home
  • Web Experiences
  • Targeting and Triggering

Regex Help

Learn some of the basics of Regex and how to use it to target dynamic URLs.

Updated at June 27th, 2024

Submit Article Requests

Do you have a suggestion for an article you would like to see created?
Feel free to submit this form and add your suggestions to our document board.

Please fill out the contact form with the details about the help content you'd like to see.

  • Home

  • Installation & Developers

    • Web Experiences

      • Mobile Experiences

        • Workflows

          • Analytics & Data

            • Account Management

              • Best Practices

                • Integrations

                  Table of Contents

                  Common Regex Patterns

                  Common Regex Patterns

                  Here is a little cheat sheet on a few common regex patterns

                  The most common regex pattern you will probably want is simply:

                  .+
                  

                  The "." is the wildcard match, and the "+" means "match the previous item one or more times. Thus, ".+" means "match one or more of any character." So, the following pattern would work to match anything (say, a user's individual dashboard page) in a url:

                  /users/.+/dashboard
                  

                  Note: while * is used as a wildcard inside flows and matches text the same as .+, it does not have the same use in Regex. When wanting a wildcard with Regex, you'll want to use .+ instead.

                  Here are some other common regular expressions that come in handy when using regex to target specific pages within Appcues:

                  • Any number: [0-9]+
                  • Either of two values: (Option1|Option2)
                  • Any word: [a-z]+

                  For even more help with Regex, check out this cheat sheet and this Regex tester.

                  help regex matches regex

                  Was this article helpful?

                  Yes
                  No
                  Give feedback about this article

                  Related Articles

                  • Product-Led Growth Overview
                  • How to use the Appcues Builder?
                  • Content Security Policies
                  Appcues logo

                  Product

                  Why Appcues How it works Integrations Security Pricing What's new

                  Use cases

                  Appcues Integration Hub User Onboarding Software Feature Adoption Software NPS & Surveys Announcements Insights Mobile Adoption

                  Company

                  About
                  Careers

                  Support

                  Developer Docs Contact

                  Resources

                  The Appcues Blog Product Adoption Academy GoodUX Case studies Webinar Series Made with Appcues Appcues University

                  Follow us

                  Facebook icon Twitter icon grey Linkedin icon Instagram icon
                  © 2022 Appcues. All rights reserved.
                  Security Terms of Service Privacy Policy

                  Knowledge Base Software powered by Helpjuice

                  Expand