refactor: uncessary escaping character

This commit is contained in:
Mara 2026-06-11 22:18:09 +02:00
parent b94074e2cc
commit a3b02f5163

View file

@ -21,7 +21,7 @@ export function standardize(str: string) {
.standardize()
.unidecode()
.replace(/\s/g, "")
.replaceAll(/[\.!_,&]+/g, "");
.replaceAll(/[.!_,&]+/g, "");
}
export function removeExtraNewLine(str: string) {