Željko Filipin
Tue, 12 Jun 2007 02:40:03 -0700
Hi Sapna, You should really read something about Regular Expressions. You can start here. http://www.rubycentral.com/book/tut_stdtypes.html There is chapter named Regular Expressions. For now, try this (Bret left it in comment at my blog). (ie.link(:text, "RE: Check Copy Request").href =~ /id=(.*)&/)[1] Zeljko
_______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
- [Wtr-general] Need to fetch the ID sapna
- Re: [Wtr-general] Need to fetch the ID Željko Filipin
- Re: [Wtr-general] Need to fetch the ID sapna
Re: [Wtr-general] Need to fetch the ID Željko Filipin