Update index.html

This commit is contained in:
2026-11-10 09:26:34 +00:00
والد d268f3077f
کامیت 499987bd6c
-15
مشاهده پرونده
@@ -1,4 +1,3 @@
<!DOCTYPE html>
<html lang="fa" dir="rtl">
<head>
@@ -141,20 +140,6 @@ const results = document.getElementById("results");
const status = document.getElementById("status");
// یکسان‌سازی حروف و اعداد برای جست‌وجو
function normalize(value) {
return String(value ?? "")
.trim()
.toLowerCase()
.replace(/[۰-۹]/g, digit =>
"۰۱۲۳۴۵۶۷۸۹".indexOf(digit)
)
.replace(/[٠-٩]/g, digit =>
"٠١٢٣٤٥٦٧٨٩".indexOf(digit)
)
.replace(/ي/g, "ی")
.replace(/ك/g, "ک");
}
// خواندن صحیح اطلاعات CSV