Javascript URL validation regex

前端 未结 3 1058
甜味超标
甜味超标 2020-12-20 22:32

I had the following url validation regex:

/(ftp|https?)://[^ \"]+$/

This is from the ref: Regular expression for URL validation (in JavaScript)

This

3条回答
  •  独厮守ぢ
    2020-12-20 23:20

    Try This ..

    
    
    
    

提交回复
热议问题