String Replace


Download for free
Get it now

The String Replace app simply does what the name says: it replaces strings in incoming textfiles, private data or attached metadata.

It works (in file mode) on file-based jobs only, folder-based jobs are sent directly to the output. In metadata or private data mode, it also works on job folders. It uses the JavaScript replace syntax, and allows to replace multiple strings. The JavaScript replace syntax also allows to use regex for replacements. The replacement of strings takes part top-down, so it also allows to replace recursively.

You could use this app for example to replace some strings in an incoming XML file, without having to write a complete XSLT.

In version 2 support for a text-encodings is added.

In version 3 support for a different separator-symbol is added.

In version 4 support for a metadata and private data is added.

Switch Version Required: 13 update 1 or higher
Platform: Windows, Mac

6 reviews
David B. (United States) installed this app.
Reviewed on 8 Feb 2021.

I would give this app at least 10 stars.
Very thankful for this app.
As we are not coders, this app serves an essential function for us.

Example: Our latest use (there are many) is where we use String Replace to convert XML into HTML and then convert the HTML to a PDF (automatically via Switch). We then take the PDF and place it into our Proof Of Delivery docs for our shipping problem. Otherwise we would have to write code to iterate through the XML pull the data and then write it to metadata as HTML.

This app is a lifesaver for us non-coders!

Erik T. (Denmark) installed this app.
Reviewed on 11 Jun 2020.

Simple but very efficient app that actually is a "search and replace". I needed a specific command in a JSON file defined by a variable in metadata coming from a Submit Point. With String Replace I was able to write a userfriendly text in a dropdown in the Submit point and have String Replace convert that to the requested command in a JSON file.

Sander S. (Netherlands) installed this app.
Reviewed on 10 Jun 2020.

Simple but effective. Does what it needs to do. Replacing strings in metadata is also quite useful.

Christophe M. (France) installed this app.
Reviewed on 17 Apr 2020.

It's a must-have app.
The ideal tool to quickly and easily modify the content of an XM and bring it into compliance if it is poorly designed. Thanks

Thomas S. (Germany) installed this app.
Reviewed on 20 Dec 2019.

Great Tool. Especially the possibility to search using regex.
I miss the option to insert a newline \n in the change field or using search patterns.

It helps a lot for easy Textmanipulation.
It is a feature which should be provided by switch itself.

App creator
Online support

App creator
Online support