Removes parenthetical qualifiers from an ingredient name.
Raw ingredient name (may contain qualifiers)
Name with all (...) segments stripped and trimmed
(...)
cleanIngredientName('Tomatoes (canned)') // 'Tomatoes'cleanIngredientName('Chicken (boneless) (skinless)') // 'Chicken' Copy
cleanIngredientName('Tomatoes (canned)') // 'Tomatoes'cleanIngredientName('Chicken (boneless) (skinless)') // 'Chicken'
Removes parenthetical qualifiers from an ingredient name.