JAVASCRIPT
CSS
PHP
3rd-Party Scripts
UPLOAD YOUR SCRIPT
Search
Recent Searches
dynamic drop down
unobtrusive JavaScript to register to be run once the page is loaded
receiving mails and sending mails in jsp
auto submit form
getElementByClass
XMLHttpRequest
sds
Cool*00
"12345 ",1.5,2.6
Forward a page using PHP
Rate this script:
I Love it
/
I Hate it
validate a url (regexp)
Code
function
isUrl
(
s
)
{
var
regexp =
/
(
ftp|http|https
)
:\/\/
(
\w+:
{
0
,
1
}
\w*@
)
?
(
\S+
)
(
:
[
0
-9
]
+
)
?
(
\/|\/
(
[
\w#!:.?+=&%@!\-\/
]
)
)
?/
return
regexp.
test
(
s
)
;
}
validate a url (regexp) scripts
|
validate a url (regexp) snippet
|
validate a url (regexp) example
|
validate a url (regexp) tutorial
|
validate a url (regexp) code