Grrr.. Mastering Regular Expressions isn’t in Safari. I’m matching only urls not in or surrounded by anchors. And not cheating by writing a parser like last time.
- Regex for URLs – In this document we discuss the implementation of a program that creates a regular expression to recognize Uniform Resource Locators.
- PCRE Pattern – Extracting URLs
- PHP.net: preg_match, parse_url
- ASPN Cookbook: How to make life easier with URL text highlighting