Wikipedia:AutoEd/unicodecontrolchars.js

From Simple English Wikipedia, the free encyclopedia

//

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;
}

//