Move using a pattern

Table Of Contents

  • Use case
  • Guide
  • Video

Use case

In many cases, you will require moving or mapping objects to a different key. For instance, consider moving a variable called name to new_name.

Guide

Here’s how to do it.

Step 1: Click on Add Data Transformer and select Move using a pattern transformer transformer.

Step 2: Fill in the fields of Pattern and Replacement.

Step 3: On clicking the Run Test button, you will see that the data has been replaced accordingly.

Note: While utilizing the Move using a pattern transformer, the * notation is applied to move multiple objects. At the same time, $1 is used in the Replacement field for such cases.

Video guide