website logo
πŸ”­Overview
πŸ’ΌPlatform Actions
πŸ’œIntegrations
🧰Custom Actions
πŸ› οΈDeveloper's Guide
Navigate through spaces
⌘K
πŸ“•Call API
πŸ“•Generate Document
πŸ“•Call Subprocess
πŸ“•Decisional
βš“Decisional Further Reading
πŸ“•Join
πŸ“•Delay
πŸ“•For Each
πŸ“•Get File Data
πŸ“•Map Process Data
βœ‰οΈSend Email
πŸ“¬Inbound email
πŸ“Database
πŸ“Documents
πŸ“DateTime
πŸ“FTP/sFTP
πŸ“Json
πŸ“XPath
πŸ“Lists
πŸ“Numerical
πŸ“Strings
πŸ“Converters
πŸ“Excel
πŸ“Scripting
πŸ“Utilitary
πŸ“Pdf
πŸ“Beta
Docs powered byΒ archbeeΒ 

RegEx Replace

5min

RegEx Replace is one of the most useful Actions that you can add to your flows. It will allow you to automate the way you update documents inside your flows.

Scenario

Let's assume that you have a template file that you wish to use with several of your customers and the only thing you wish to change is the contact email address.

How to

1. Create a new process and give it a name.

2. Drag the Regex Replace action to the canvas and link it to the other actions.

Document image
ο»Ώ

3. Click the Regex Replace action to access its configurations and click the button Regex Configurations.

4. Add the needed variables.

Document image
ο»Ώ
  • ο»Ώ<%stringToSearchIn%> - variable that has the default text saved as Default value.
  • ο»Ώ<%reGexExpression%> - variable that has the Regex Value saved as Default value. The Regex is "([_\.0-9a-zA-Z-]+@([\-0-9a-zA-Z]+\.)+[a-zA-Z]{2,6})".
  • ο»Ώ<%updatedText%> - variable that will hold the modified text.
  • ο»Ώ <%email%> - input variable that will ask the email that the regex expression will use.

If you wish to search the text regardless the case check the Ignore case checkbox.

Document image
ο»Ώ

5. Save and Validate the process.

6. Each time you will run the process you are expected to add the new email address you wish to us.

Document image
ο»Ώ

7. Because we have created <%updatedText%> of type output, when you click Check instances you will be able to see that the text was updated.

Updated 31 Mar 2023
Did this page help you?
Yes
No
PREVIOUS
String similarity
NEXT
String Between
Docs powered byΒ archbeeΒ 
TABLE OF CONTENTS
Scenario
How to