Created
June 20, 2016 08:56
-
-
Save imchao9/84e3817b4e48b5962032f372689a7d86 to your computer and use it in GitHub Desktop.
获取url的文件名
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
| var RegUrl = new RegExp(); | |
| RegUrl.compile("^[A-Za-z]+://[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