Created
September 13, 2016 22:12
-
-
Save morales2k/042cc6c5c37504573ec5d511e483a1c6 to your computer and use it in GitHub Desktop.
Regex to match urls
This file contains hidden or 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?:\/\/)?([\da-z\.-]+)\.([a-z\.]{2,12})([\/\w-\.]*)?\??([=\w+&%\s-]?)*$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment