From: g-3 Date: 2002-02-06T14:05:43+09:00 Subject: WWW Library Hello all, I am ganesan and a little new to ruby and regex; I am searching for a class / or sample in Ruby for getting the Host name and File Paht from a url... Just like the URL class in Java. for Example url = "http://www.hostname.com/~testme/test.html" host = getHost ( url ) and soo on.. please let me know if there is any class availble. thanks ganesan -- g-3 mailto:ganesan-ml@ganekun.com