On 13 April 2010 12:58, Kenneth Lee <kenfodder at gmail.com> wrote: > Excellent suggestions, might be time to do some forking :P > > Thanks a bunch. I'm not sure whether it's what you're after, but I came across URI::extract in the Ruby Standard Library the other day which might be worth a look :- http://ruby-doc.org/core/classes/URI.html#M004809 Cheers, James.