Skip to main content

Brackets

Extract text properties in brackets from the input.

Extract text in brackets from the input.

Parameters​

NameDescriptionAccepted ValuesDefaultRequired
I/O
inputName of the input column.string, integer, array—Yes
outputName of the output columns.string, array—Yes
Options
find(Optional) The type of brackets to find (round '()', square '[]', curly '{}', angled '<>'). Default is all brackets.string, array"all"No
include_brackets(Optional) Include the brackets in the output.booleanfalseNo
Formatting
output_formatFormat of the extract output.string, null; one of:
  • list
  • columns
  • concatenate
nullNo
charCharacter to use when output_format is concatenate.string", "No
Conditions
ifCondition that determines whether the wrangle runs as a whole. Recipe variables may be referenced with ${variable}.string—No
whereFilter rows before applying the wrangle using SQL-like criteria, such as column1 = 123 OR column2 = 'abc'.string—No
where_paramsValues used with where for parameterized criteria. Uses SQLite placeholder syntax such as ? or :name.array, object—No

Examples​

wrangles:
- extract.brackets:
input: Data
output: Output
Data
{Hello}
[Wrangles]
(!)
<!>
Output
Hello
Wrangles
!
!
Access
RequirementValue
AI-poweredNo
Requires WrangleWorks accountNo
Requires subscriptionNo
Requires external API keyNo
Technical details
FieldValue
Catalog ID23
Catalog keyextract.brackets
Recipe keyextract.brackets
Catalog statusactive
Lifecycle statusactive
Recipe Writer eligibleYes
Namespaceextract
Documentation groupextract
AliasesNone
Runtime symbolwrangles.recipe_wrangles.extract.brackets
Legacy UUID9b4c15fa-2aaa-40c8-8834-6e835760bee5

Sources