This query does a regex search and replace to add missing links in the post's HTML content.
All URLs which are not surrounded by an anchor tag, such as:
...are added the corresponding <a> tag around them (while also removing the domain from the text, and adding a target to open in a new window), becoming: