Posts by Kevin Souza • 449 points
1 post
-
45
votes4
answers30259
viewsA: Remove accents (javascript)
Simple and easy one-line conversion: string.normalize('NFD').replace(/[\u0300-\u036f]/g, "");
javascriptanswered Kevin Souza 449
1 post
45
votes4
answers30259
viewsSimple and easy one-line conversion: string.normalize('NFD').replace(/[\u0300-\u036f]/g, "");