diff --git a/index.html b/index.html index 347356d..b2cd74f 100644 --- a/index.html +++ b/index.html @@ -1,4 +1,3 @@ -
@@ -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