Better regex for URL detection