What is Regex Entity?
If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.
- Getting Started
- IVA Building Guides
- Conversation Design
- Developer Guides
- Agent Setup
- Analytics & Reporting
- Tips & Tricks
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.
Type of input
|Multiline input from the users||[^\r\n]+((\r|\n|\r\n)[^\r\n]+)*|
|To accept any sentence from the user||.*