Created
November 22, 2017 17:29
-
-
Save arcticmouse/0f30f88cf5f32a4e9755c24c7ef3ec8a to your computer and use it in GitHub Desktop.
regex(php) match url (ftp/http/https)
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
(((ftp|https?):\/\/)(www\.)?|www\.)([\da-z-_\.]+)([a-z\.]{2,7})([\/\w\.-_\?\&]*)*\/? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment