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
  • Contact Us
  • Docs home
  • Best Practices
  • FAQ

FAQ: Regex Help

Updated at November 28th, 2022

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.

  • Installation & Developers
    Installing Appcues Installing Appcues Mobile API & Data Troubleshooting Extras
  • User Experiences
    Web Experiences Use Cases Building Web Experiences Building Mobile Experiences Customization & Styling Targeting Studio FAQ Troubleshooting
  • Mobile
    Installation & Overview Mobile Use Cases Building Mobile Experiences Mobile Analytics Troubleshooting
  • Account Management
    Subscription Users & Data
  • Analytics
    Experience and Event Analytics Data
  • Best Practices
    Use Cases Pro Tips Product-led Growth FAQ
  • Integrations
    Integration Documents Use Cases Resources
  • System Status
    System Status & Incidents
+ More

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.

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Product-Led Growth Overview
Appcues logo

Product

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

Use cases

User Onboarding Software
Feature Adoption Software
NPS & Surveys
Announcements
Insights
Mobile Adoption

Company

About
Careers
we're Hiring

Support

Developer Docs
Contact

Resources

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

Follow us

Facebook iconTwitter icon greyLinkedin iconInstagram icon
© 2022 Appcues. All rights reserved.
SecurityTerms of ServicePrivacy Policy
Expand