← Back to plugin index

Regex String Transformation

Description
Matches the input string using a regular expression and replaces it with the specified replacement string.
Type name
RegexStringTransformation
Class
com.airlock.iam.common.application.configuration.location.transform.RegexStringTransformerConfig
May be used by
Properties
Pattern (pattern)
Description
The regular expression used for matching the input string.
Attributes
RegEx
Mandatory
Replacement (replacement)
Description
The text returned as transformation result. Can be a constant string, or a string containing a capturing group number like $1.
Attributes
String
Mandatory
Example
$1
Stop After Successful Transformation (stopAfterSuccessfulTransformation)
Description
If this flag is set, the transformation doesn't continue after this transformer, and the configured replacement text is used as the overall result of the entire transformer chain.
Attributes
Boolean
Optional
Default value
false
YAML Template (with default values)

type: RegexStringTransformation
id: RegexStringTransformation-xxxxxx
displayName: 
comment: 
properties:
  pattern:
  replacement:
  stopAfterSuccessfulTransformation: false