what's the regular expression for any url without 'http://world wide web.'? let me validate whether it's uri or otherwise once the user makes its way into the uri title
You should check this: What's the best regular expression to see if a string is really a valid URL.
This can be a great question for google. Try 'regex library'. You'll find 1000's of good examples.
Ping/nslookup the hostname the consumer provides.
In the event that calculates well, you might like to try opening an association towards the hostname on port 80.