ReplaceMatchGroup
This Script is part of the Common Scripts Pack.#
Returns a string with all matches of a regex pattern groups replaced by a replacement.
Script Data#
| Name | Description |
|---|---|
| Script Type | python3 |
| Tags | transformer |
| Cortex XSOAR Version | 5.0.0 |
Inputs#
| Argument Name | Description |
|---|---|
| value | An array of email addresses to be filtered by domain. |
| regex | A regex pattern who's groups to be replaced by the replaceWith argument. |
| replace_with | The replacement string. |
Outputs#
There are no outputs for this script.