Another common function that I get asked for is the ability to highlight links in a block of text that contains urls, but doesn’t have them within anchor tags. So, to stop me hearing this question and advising people to ‘use Google’ here is a function that will do this. It very likely isn’t bullet proof (and isn’t the most elegant thing I’ve ever seen), but will hopefully be either good enough or provide inspiration for your own solution.
-
Recent Posts
Tags
Amavisd-New Amazon AWS Apache Article spinner Asynchronous cURL Asynchronous PHP Auto-save Backing up ClamAV Class loading Cloud CSS cURL cURL background Dovecot Driving distance Driving time E-mail validation EBS EC2 Elasticfox Formatting HTML JavaScript Mod Expires MySQL Namespaces Negative lookahead Nested Spinner Optimisation PHP PNG crush Postfix Regex Road distance Rounding corners SEO SEO spinner Server Snapshotting Spamassassin Spinner Static method calls Ubuntu 10.04 Wordpress


