Last active
June 12, 2017 17:40
-
-
Save wwwjsw/9fb21be34cb96fb8a0d6d6d605ef5251 to your computer and use it in GitHub Desktop.
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
| //RECONHECE SE É UM LINK (COMEÇANDO COM HTTPS, HTTP OU WWW) | |
| preg_match('/^(https?:\/\/)([\da-z\.-]+)\.([a-z\.]{2,6})([\/\w \.-]*)*\/?$/', 'http://i.imgur.com/X7QXj8S.jpg') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment