PhenixID

String Replacer

Version: 1.9

Category: Process

Extended Category: String

Action Package: Standard Actions

Description

Replaces or removes characters in a string

Parameter

Description

Example

Attribute with String Value:

The session attribute that contains the string value.

description

Result Attribute(s):

The attribute(s) to write the result to, separated by “,”. If empty, the source attribute is overwritten.

descriptionRewritten

Character Mapping:

A separated string with mapping values separated by pipe |, Example: å|a,Å|A. Separator is by default comma (,) but can be replaced by the Separator Character parameter.

a|c,b|d,c|e

Keep a-z (true/false):

If a-z should be kept (default: true).

false

Keep A-Z (true/false):

If A-Z should be kept (default: true).

true

Keep 0-9 (true/false):

If 0-9 should be kept (default: true).

false

Keep Characters:

Enter the characters that should be kept. For only space, type SPACE.

0123456789abcdef:-

Replace with This Character:

Enter a character that should be used for replacement of characters not accepted. Use NULL to remove not accepted characters. Use [LINEBREAK] to replace the value with a line break.

NULL

Separator Character:

Enter a character that should be used as separator for the character mapping. Default is comma (,)

Regular Expression:

Enter a regular expression. Leave blank to ignore

[0-9]|[a-z]

Replacement String:

The string value to replace the string found with regular expression parameter. Requires a value in “Regular Expression”

Number

Use Cases

Example 1: Replace Boss,Director and President with Manager

Replace Boss,Director and President with Manager in the title attribute

Parameter

Value

Attribute with String Value:

title

Character Mapping:

[Blank]

Keep a-z (true/false):

[Blank]

Keep A-Z (true/false):

[Blank]

Keep 0-9 (true/false):

[Blank]

Keep Characters:

[Blank]

Replace with This Character:

[Blank]

Separator Character:

[Blank]

Regular Expression:

.Boss|.Director|.President

Replacement String:

Manager


DISCLAIMER
Information provided in this document is for your information only. PhenixID makes no explicit or implied claims to the validity of this information. Any trademarks referenced in this document are the property of their respective owners.

The origin of this information may be internal or external to PhenixID. PhenixID makes all reasonable efforts to verify this information.

PhenixID - support.phenixid.se