removeAccents
Removes accents from strings.
- Use
String.prototype.normalize()
to convert the string to a normalized Unicode format. - Use
String.prototype.replace()
to replace diacritical marks in the given Unicode range by empty strings.
Removes accents from strings.
String.prototype.normalize()
to convert the string to a normalized Unicode format.String.prototype.replace()
to replace diacritical marks in the given Unicode range by empty strings.