Regex expression to validate web address

I want to restrict the response to a valid web address just like it is for the email address. Please what regex expression should be used for this?

Could you share a sample of the same so that the community would be able to help you out?