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