function autoEdUnicodeControlChars(str) { //MAIN FUNCTION describes list of fixes //Removes unneeded Unicode control characters str = str.replace(new RegExp('\u200E|\uFEFF|\u200B', 'gi'), ''); return str; }