...../en/HotelDetails/7e958187-982a-4e01.aspx

that's part of the URL and i want to strip the id number out of it (7e958187-982a-4e01) then use it so i can input it into another URL

So what i need is to know how to pull that url, using regex or whatever and then construct another url and redirt to that one afterwards using ie.goto("").

Sol.


From:  "Željko Filipin" <[EMAIL PROTECTED]>
Reply-To:  [email protected]
To:  [email protected]
Subject:  Re: [Wtr-general] stripping...
Date:  Fri, 25 May 2007 14:43:35 +0200

ie.url returns url. What do want to do with it?

irb> ie.url
=> "http://www.google.com/"

Zeljko

>_______________________________________________
>Wtr-general mailing list
>[email protected]
>http://rubyforge.org/mailman/listinfo/wtr-general



Madonna Live Earth Exclusive - Download her new single "Hey You" for FREE
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to