DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
string remove accents
function toNormalForm(str) { return str.normalize("NFD").replace(/[u0300-u036f]/g, ""); }
Source by javascriptf1.com #
PREVIOUS
NEXT
Tagged:
#string
#remove
#accents
ADD COMMENT
Topic
COMMENT
Name
2+3 =
Submit