Task: Remove Text Between Parentheses Using JavaScript Regex
Task: Remove Text Between Parentheses Using JavaScript Regex: a task in Terminal-Lego-15k (Harbor dataset). Write a JavaScript script that removes text between parentheses (including the parentheses themselves) from strings, and also trims any resulting trailing whitespace.
The task
Write a JavaScript script that removes text between parentheses (including the parentheses themselves) from strings, and also trims any resulting trailing whitespace.
Part of PrimeIntellect/Terminal-Lego-15k.