Skip to main content

StripChars

This Script is part of the Filters And Transformers Pack.#

Strip set of characters from prefix and/or suffix e.g. StripChar value=~!!~www.mydomain.com~!~!~ chars=!~ will return www.mydomain.com

Script Data#


NameDescription
Script Typepython3
Tagstransformer, string
Cortex XSOAR Version5.0.0

Inputs#


Argument NameDescription
valueText to trim (e.g. "~!!~www.mydomain.com~\!~\!~"\)
charsCharacters to stripped from the text (e.g. "!~")

Outputs#


There are no outputs for this script.