I’m looking to write a regular expression that will match valid URLs.
My problem is that it almost works, except it accepts URLs with / in the
middle of them, suchs as:
It looks (to me) like my regular expression should not match strings
like that, but it does. Here is the regular expression:
How can I make it not accept URLs with / in the middle of them?