Created
May 31, 2022 18:07
-
-
Save zohaib304/791e5e3b55f6b454f103b8e340c1482d to your computer and use it in GitHub Desktop.
Javascript URL regex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_\+.~#?&//=]*)/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment