Files
parsshop/lib/utils.tsx
2026-03-24 00:02:02 +03:30

8 lines
200 B
TypeScript

// export const slugify = (text: string) => {
// return text
// .toString()
// .trim()
// .replace(/\s+/g, "-")
// .replace(/[^\u0600-\u06FFa-zA-Z0-9\-]/g, "");
// };