Example Configuration
api:
port: 2000
flow:
- regExReplacer:
regex: Hallo
replace: Hello
api:
port: 2000
flow:
- regExReplacer:
regex: Hallo
replace: Hello
Syntax
regExReplacer:
regex: <string> # required
replace: <string> # required
target: bodyregExReplacer: regex: <string> # required replace: <string> # required target: body
Attributes
| Name | Required | Default | Description | Examples |
|---|---|---|---|---|
| regex | true | - | Regex to match against the body. | Hallo |
| replace | true | - | String used to replace matched parts. | Hello |
| target | false | body | Whether the replacement should affect the message body or the header values. Possible values are body and header. | header |