Normalizes a text for matching: decomposes accents (NFD), drops the combining marks, then lowercases. Nothing else changes — punctuation and spacing are kept.
Text to normalize.
The normalized text.
normalizeText("Élévation À-Côté"); // "elevation a-cote" Copy
normalizeText("Élévation À-Côté"); // "elevation a-cote"
Normalizes a text for matching: decomposes accents (NFD), drops the combining marks, then lowercases. Nothing else changes — punctuation and spacing are kept.