diff --git a/src/utils/helpers.ts b/src/utils/helpers.ts index 3a185086..fd15ba02 100644 --- a/src/utils/helpers.ts +++ b/src/utils/helpers.ts @@ -42,7 +42,7 @@ export const sleep = (ms: number) => { export const validator = { isValidDomain: (domain: string) => { const unicodeDomain = - /^(?!.*\s)(\.?[a-zA-Z0-9\u00A1-\uFFFF](?!.*\s$)(?!.*\.$)(?:(?!-)[a-zA-Z0-9\u00A1-\uFFFF-]{1,63}(?