for JS
regular expression to validate any http|https|ftp|IPv4 address,
supported:
authority username:password (example https://username:password@example.com);
port :0-65565 (example https://example.com:80);
query/queries ?c=1 or ?c=1&d=x (example https://example.com/main.php?c=1&d=x);...
Submitted by anonymous - 9 months ago