IIUC, this sounds like a job for URI. Is there some reason to go reinventing the wheel here?
🦛
In reply to Re: Regex for matching URLs with username/password and token
by hippo
in thread Regex for matching URLs with username/password and token
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |