Remove accents
/**
* Remove accents from string
**/
const removeAccents = str =>
str.normalize("NFD").replace(/[\u0300-\u036f]/g, "")
// removeAccents("Crème Brulée") -> Creme Brulee
/**
* Remove accents from string
**/
const removeAccents = str =>
str.normalize("NFD").replace(/[\u0300-\u036f]/g, "")
// removeAccents("Crème Brulée") -> Creme Brulee