Skip to content

Instantly share code, notes, and snippets.

@rsxdalv
Created February 17, 2018 07:44
Show Gist options
  • Save rsxdalv/6d86a6ae540ff0fde2208f75d721691c to your computer and use it in GitHub Desktop.
Save rsxdalv/6d86a6ae540ff0fde2208f75d721691c to your computer and use it in GitHub Desktop.
const badSymbol = '​';
exports.trimQuokka = x => x.replace(new RegExp(badSymbol, "g"), "")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment