I have URLs in the following format:
STATIC_PATH=http://abc.com/0123/3456
STATIC_PATH=http://xyz.com
I want to match until and including the first forward slash not immediately followed by a forward slash. In the first URL that would match be http://abc.com/
, in the second URL, it would be http://xyz.com
. Can you give me the regex for it? Thank you.