0.0.8-2023.1.0 • Published 11 months ago
@itentialopensource/regex-replace v0.0.8-2023.1.0
Regex Replace
Table of Contents
Overview
This Pre-Built Transformation enables users to execute a search for a match in a string, and replaces the matched substring with a replacement substring. It closesly emulates the functionality of the native JS String replace method. The only noticeable difference is that one must specify whether a Regex or String is used as the identifier (where string is the default). If a string is selected as the identifier, then only the first match is replaced (similar to the native method).
Installation Prerequisites
Users must satisfy the following pre-requisites:
Itential Automation Platform
- ^2022.1
How to Install
To install the artifact:
- Verify you are running a supported version of the Itential Automation Platform (IAP) as listed above in the Requirements section in order to install the artifact.
- The artifact can be installed from within App-Admin_Essential. Simply search for the name of your desired artifact and click the install button (as shown below).
How to Run
Use the following to run the Pre-Built Transformation:
- Once the JST is installed as outlined in the How to Install section above, navigate to the workflow where you would like to use
replace
and add aJSON Transformation
task. - Inside the
Transformation
task, search for and selectreplace
.
0.0.8-2023.1.0
11 months ago
0.0.7
12 months ago