How can I change this:
This is a string [[remove]] this
To:
This is a string this
I managed to figure out how to remove a string between one set of brackets but I couldn't get it right with two:
var myString = "This is my string [remove] this"
myString.replace(/ *\[[^\]]*]/, '');