Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options questions only not deleted user 6069

a character string used to represent a location on the Internet that can be typed or accessed by a user. URLs often present in human-readable the organization behind the website and the function of the specific page being navigated to, in addition to their purely functional use.

14 votes
6 answers
6k views

What would be the best way to let a user add a URL to a form?

For example, we would like to allow the to enter URLs as http://www.google.com/ or www.google.com and only google.com. … What kind of validation would suffice so all valid URLs are allowed, but the most obviously wrong are not? …
Thorsal's user avatar
  • 387