Hey there, I'm working with a string: "BALCONI \n\n\t\t\t\t10-pack MixMax chocolade cakejes" and trying to tidy it up by removing unnecessary tabs and new lines.
I attempted using .replace(/(\n\t)/g, '') to get rid of the \n and \t characters, but it doesn't seem to be doing anything. I've been using to help me understand how to replace these characters, but so far no luck. Could the issue be linked to "\n\n\t\t\t\t" being connected to "10-pack," causing difficulty in removing the \n and \t?
Any assistance in this matter would be greatly appreciated, as regular expressions are not my forte.