It's quite common to need to manipulate text values when automating your processes. This could be removing non alphanumeric values from a string, extracting numbers, email address, etc. or splitting.

Zenphi enables to use Regex expressions to perform operations like these:

  • RegEx - Split: this action enables you to split a text in a collection of texts based on a given Regex Expression.

  • RegEx - Replace: this using this action you can replace specific values in the given text with new values. For example, you can replace all numbers with empty values (i.e. removing numbers from the given text) .

  • RegEx - Find Value: this action enables you to find the first value in the given text which matches the configured Regex Expression.

  • RegEx - Find Values: this action enables you to find all values in the given text which match the configured Regex Expression.

Useful Regex Operations:

Trim leading and removing white space(s) from a given text

Action: RegEx - Replace

Regex Expression: ^\s+|\s+$

Extract email address and email domain in a given text

Action: RegEx - Find Value

Regex Expression: (?<email>[\w\.-][email protected](?<domain>[\w\.-]+))

Did this answer your question?