Cleans ingredient name by removing parenthetical content
Used to normalize ingredient names before fuzzy matching to improve match quality. For example: "Tomatoes (canned)" becomes "Tomatoes"
Raw ingredient name
Cleaned name without parenthetical content
cleanIngredientName('Chicken (boneless)') // Returns: 'Chicken'cleanIngredientName('Olive Oil') // Returns: 'Olive Oil' Copy
cleanIngredientName('Chicken (boneless)') // Returns: 'Chicken'cleanIngredientName('Olive Oil') // Returns: 'Olive Oil'
Cleans ingredient name by removing parenthetical content
Used to normalize ingredient names before fuzzy matching to improve match quality. For example: "Tomatoes (canned)" becomes "Tomatoes"