Advertisement
artgrohe

Good Web URL matching regex

Nov 19th, 2024
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JavaScript 0.08 KB | Cybersecurity | 0 0
  1. /^(https?:\/\/)?([\da-z\.-]+)\.([a-z\.]{2,62})(\:[0-9]{2,5})?(\/[\w\.\-\?&=]*)*\/?$/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement