
-
Setting the
Search Value field to
([0-9]{4})([0-9]{2})([0-9]{2})This regular expression searches for values, storing them in variables with 4 digits, 2 digits, and 2 digits (for dates in the form yyyymmdd ). -
Setting the
Replace With field to
$1-$2-$3This regular expression replaces the variables (2, 1-3 format for dates in the form yyy-mm-dd.

-
In Workbench, Click
in the left-hand icon bar.
- In the Jobs listing, double-click the DataSet job with column values you want to replace.
- Click Transforms to expand that section of the pane.
- In the Add a transform menu, select Search/Replace Transform.
-
Click the
button.
The Search/Replace Transform Editor appears.
- In the Search Column menu, select the column in which you want to replace values.
- In the Search Value field, enter the value you want to replace or insert a regular expression using the Regular Expression Builder.
- In the Replace With field, enter the value that should replace the value you entered in step 7 or insert a regular expression using the Regular Expression Builder.
- (Optional) In the Alternate Replace field, specify a default value to appear in cells in which your search value does not appear.
- Click Apply.
-
Click
at the top of the pane to save your transform.