Update ReplaceAll docs
@@ -1012,6 +1012,16 @@ The available modifiers are:
"is_regex": false
}
```
+ In addition, when `is_regex` is true, is possible to interpolate the regex captured groups in the `replace` string,
+ using the `$<position>` syntax, for example:
+ ```json
+ {
+ "type": "ReplaceAll",
+ "find": "(?P<lastname>[^,\\s]+),\\s+(?P<firstname>\\S+)",
+ "replace": "firstname: $2, lastname: $1",
+ "is_regex": true
+ }
+ ```
- *ToNumber*: it transforms the resulting String into a number. Syntax:
```json
{
