I need to replace the unicode characters defined on here
I have got this so far but it seems to remove all space including standard spacebar ones:
va
Remove the regular space that you have first in the pattern:
str = str.replace(/[\u00A0\u1680\u180e\u2000-\u2009\u200a\u200b\u202f\u205f\u3000]/g,'');