Field Parser for REGEX:
Let’s move on to the Field Parsers section.
- Click on ‘New‘ to create a new Field Parser.
- Then Select Output Type as ‘Date’ and enter the ‘Reference Name’ as ‘company_Name and then select Type as ‘Regex Selector’.
- Afterwards, select Source as ‘Text Body’ and click on ‘Save’ button.
- Click on the created Field Parser to open the record layout.
- Click on the ‘Build’ button on the top right corner.
- When user selects Source as a ‘Text Body’.
- Afterwards Put the Regex in the Value field ‘\d\d\d\d-(0?[1-9]|1[0-2])-(0?[1-9]|[12][0-9]|3[01])+’ .
- Refer following links to build and test Regular Expressions:
- Choose the correct option from the ‘Multiple Results Configurations‘ and select its value as ‘First’.
- Write a sample text in the Text Area and click on ‘Test‘ to check the functionality.
- Click on ‘Save‘.
Sample content for ‘Testing Field Parser’:
Hi, Kindly complete your KYC before date: 2023-12-29. Regards, Abhishek. |