Added method using regex to remove parentheses and strings inside them