Created
October 14, 2013 23:48
-
-
Save johnywith1n/6984273 to your computer and use it in GitHub Desktop.
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
String URL_REGEX = "(?:https?:\\/\\/)?(?:[\\da-z\\.-]+)\\.(?:[a-z\\.]{2,6})(?:[A-Za-z0-9\\-\\+\\&\\@\\#\\/\\%\\?\\=\\~\\_\\(\\)\\|\\!\\:\\,\\.\\;]*)[A-Za-z0-9\\-\\+\\&\\@\\#\\/\\%\\=\\~\\_\\(\\)\\|]"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment