diff --git a/index.html b/index.html index 1e280c7..cf17a59 100644 --- a/index.html +++ b/index.html @@ -1,4 +1,3 @@ -
@@ -139,16 +138,7 @@ const searchInput = document.getElementById("searchInput"); const results = document.getElementById("results"); const status = document.getElementById("status"); -// تبدیل اعداد فارسی و عربی به انگلیسی -function normalize(text) { - return String(text) - .replace(/[۰-۹]/g, d => - "۰۱۲۳۴۵۶۷۸۹".indexOf(d)) - .replace(/[٠-٩]/g, d => - "٠١٢٣٤٥٦٧٨٩".indexOf(d)) - .toLowerCase() - .trim(); -} + // خواندن صحیح اطلاعات CSV function parseCSV(text) {