matchRegExp
Last update: June 10, 2025
- Topics:
- Journeys
CREATED FOR:
- Experienced
- Developer
Returns true if the string in the first parameter matches the regular expression in the second parameter. For more information, see this page.
Category
String
Function syntax
matchRegExp(<parameters>)
Parameters
Parameter | Type |
---|---|
string | string |
regexp | string |
Signature and returned type
matchRegExp(<string>,<string>)
Returns a boolean.
Example
matchRegExp("12345", "\\d+")
Returns true.
Previous pagelower
Next pagenotequalIgnoreCase
Journey Optimizer
- Journey Optimizer documentation
- What’s new?
- Get started
- Journeys
- Get started with journeys
- Create a journey
- Manage your journeys
- Browse & filter your journeys
- Profile entrance in journeys
- Supplemental identifier in event-triggered journeys
- Time zone management
- Send-Time optimization
- End your journey
- Copy a journey to another sandbox
- Troubleshoot your journey
- Troubleshoot inbound actions in journeys
- Integrate with Intelligent Services
- Activities
- Build expressions
- Use cases
- Campaigns
- Conflict management & prioritization
- Test & approve
- Communication channels
- Get started with communication channels
- Email channel
- In-app channel
- Push notification channel
- SMS / MMS / RCS channel
- Direct mail
- Web channel
- Code-based experience
- Content cards
- LINE
- Content management
- Landing pages
- Personalization
- Content templates
- Reusable content fragments
- Dynamic content
- Cross-solution use cases
- AI Assistant for content generation
- Multilingual content
- Content experiment
- Audiences, profiles & identity
- Reporting
- Get started with reports
- Live report
- All time report
- Custom journey reports
- Decision capabilities
- Get started with decision capabilities
- Decisioning
- Get started with Decisioning
- Decisioning guardrails & limitations
- API reference
- Manage decision items
- Configure item selection
- Create selection strategies
- Create decision policies
- Report on Decisioning
- Decisioning use case
- Decision management
- Get started with Decision management
- Create components
- Create rankings
- Create & manage offers
- Create & manage decisions
- Use batch decisioning
- Collect event data
- Leverage context data
- Create Decision Management reports
- Export your offer catalog
- API Reference
- Getting started
- Create & manage offers using APIs
- Deliver offers using APIs
- Data management
- Channel configuration
- Journey configuration
- Connect your systems and environments
- Access control
- Privacy