Some of the web site need to validate website url in their form. below JQuery code will validate or check the input entered by user is a valid URL or not. For this we are going to use regular expression. Lets see the code