Extracting URLs from text

Often when I’m moving content from one site to another, or one format to another, I’m presented with some time-consuming tasks. One of these is extracting URLs from within formatted WordPress posts with shortcodes or text. Here’s a typical example to illustrate:

This is a bit of a mess but Ruby can extract the URLs quite 

Continue Reading →