chore: updated url regex
Signed-off-by: Adithya Krishna <aadithya794@gmail.com>
This commit is contained in:
@@ -1,2 +1,2 @@
|
|||||||
export const URL_REGEX =
|
export const URL_REGEX =
|
||||||
/^(https?):\/\/(?:www\.)?[a-zA-Z0-9-]+\.[a-zA-Z0-9()]{2,}(?:\/[a-zA-Z0-9-._?&=/]*)?$/i;
|
/^(https?):\/\/(?:www\.)?(?:[a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+\.[a-zA-Z0-9()]{2,}(?:\/[a-zA-Z0-9-._?&=/]*)?$/i;
|
||||||
|
|||||||
Reference in New Issue
Block a user