Hey all, I've got the following regex:
var outstring = inputsplit.join(';').replace(/\s/g, '');
the problem is, given the array:
["this ", "is ", "a ", "test"]
the output is
"this;is ;a ;test"
instead of
"this;is;a;test"
any pointers on what I can do to get this global filter to work?