Created
November 25, 2018 06:10
-
-
Save daltonmenezes/bc1adaef727100923a089504c381cfac to your computer and use it in GitHub Desktop.
Função de uma linha para remover acentos | Inline function to remove accents
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const removeAccent = s => s.normalize('NFD').replace(/[\u0300-\u036f]/g, '') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment