For Brackets, I went with something that's not a regex because I wanted certain parts of the string to be "special":<p><a href="http://www.blueskyonmars.com/2013/03/26/brackets-quick-open-thats-no-regex/" rel="nofollow">http://www.blueskyonmars.com/2013/03/26/brackets-quick-open-...</a><p>But, I'll definitely look up a couple of the links that people have posted here about some other algorithms (Smith-Waterman, for example).