RegEx Patterns in Cognigy Nodes – Cognigy.AI Help Center
RegEx Patterns in Cognigy Nodes
Cognigy Support
September 8, 2023
Challenge
I am not able to make my RegEx pattern to work within the Cognigy Nodes
Solution
Cognigy v4 requires any RegEx pattern to start with "/" and end in "/[flags]"
The best way to make sure your pattern is correct and matches the values you are looking for is to create and test your pattern here: https://regex101.com/
Example pattern to recognize a number character as one value:
/[0-9]/g
QnA
- Exchanging data with Microsoft SharePoint
- Exchanging data with Microsoft SQL Server (MSSQL)
- Using CognigyScript in Twilio Twiml XML
- How can I adjust the style of the Webchat Widget
- Accessing Information about the Cognigy.AI API
- Trigger Microsoft Power Automate Flows
- Handling HTTP Request Errors
- How to add a member to your virtual agent
- Add a new user to your Cognigy.AI organization
- Identifying a Unique Endpoint via analytics
Table of contents
Challenge