This activity helps you to locate and handle required data from a large string of characters.
Technical Reference
|
INPUT |
InputString: Enter the input string to which the Regex pattern has to be applied. |
Pattern: Enter the Regex pattern to be used. |
||
RegexOption: Choose from the drop-down menu. |
||
MISC |
Display Name: Displays the name of the activity. You can also customize the activity name to help troubleshoot issues faster. This name will be used for logging purposes. |
|
SkipOnError: It specifies whether to continue executing the workflow even if it throws an error. This supports only Boolean value “True or False” True: Continues to execute the workflow irrespective of any error thrown. False: Stops the workflow if it throws any error |
||
Version: It specifies the version of the Regex Automation feature in use. |
||
OUTPUT |
MatchResults: Declare a variable here to view the result. This is not a mandatory field however declare a variable to get the result. |
* Mandatory fields to execute the workflow.
Use Case
Steps to execute the bot
4.In the Regex pattern box, enter the regex pattern that is used to retrieve the Email id. The pattern
used here is "(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|""
(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*"")
@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]
|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\
x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])"