Regular expression for checking website url

后端 未结 6 618
轻奢々
轻奢々 2020-12-03 14:35

I need to check the web address, using regular expression.

if user type url as

  1. www.test.com
  2. http://www.test.com
  3. https://www.test.com
6条回答
  •  借酒劲吻你
    2020-12-03 15:27

    Use the following program for validating the website URL.

    It will be validating the following and any valid website URL.

    1. www.test.com
    2. http://www.test.com
    3. https://www.test.com
    
        
    
    
    

提交回复
热议问题