correct url detection regex

correct url detection regex