fix: update regex to include additional punctuation in string replacement

close #8
This commit is contained in:
Mara 2025-10-13 07:41:23 +02:00
parent de5f1e4068
commit cc77f9dc98

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) {