Follow the link jaytea provided at the bottom of his description, and then back up to the "Challenges" part of the forum from there. There are many more examples like the one jaytea has shown here where people solve seemingly difficult tasks, and their approaches are far-ranging from small, complex regex strings to large and convoluted, like most of my scripting looks like lol.
A very good read, all of them.