What is Regex Entity?
- Getting Started
- Bot Building
- Smart Agent Chat
- Conversation Design
-
Developer Guides
Code Step Integration Static Step Integration Shopify Integration SETU Integration Exotel Integration CIBIL integration Freshdesk KMS Integration PayU Integration Zendesk Guide Integration Twilio Integration Razorpay Integration LeadSquared Integration USU(Unymira) Integration Helo(VivaConnect) Integration Salesforce KMS Integration Stripe Integration PayPal Integration CleverTap Integration Fynd Integration HubSpot Integration Magento Integration WooCommerce Integration Microsoft Dynamics 365 Integration
- Deployment
- External Agent Tool Setup
- Analytics & Reporting
- Notifications
- Commerce Plus
- Troubleshooting Guides
- Release Notes
Regex entity is meant for detecting patterns like email ID, phone number, etc., and collect relevant information from user messages.
In the above example, if the user is not giving a valid PANCARD number, matching the regular expression pattern, then the IVA will send the Entity Reprompt message so the user can enter the right PANCARD number.
You can refer to https://regex101.com/ to learn more about regular expressions.
List of common regex patterns
Type of input |
Pattern |
---|---|
Multiline input from the users | [^\r\n]+((\r|\n|\r\n)[^\r\n]+)* |
To accept any sentence from the user | .* OR \w* |