I current have str.match(/(http[^\s]+)/i)
which not only captures link in the content, but also in img tag(src="http...") and anchor tag(href="http...")
How do I modify my regex so that it matches only "http/s" that has no "src=" or "href=" before it?