From: Cyriac Thomas Date: 2009-04-14T02:05:14+09:00 Subject: Re: Ruby RegEx This should help http://www.ruby-doc.org/core/classes/String.html#M000827 -- Cyriac Thomas Chittuthara MEC CSA 2k10 www.tuxomaniac.co.nr www.photoblog.com/cyriacsmail www.twitter.com/cyriacthomas On Mon, Apr 13, 2009 at 10:30 PM, aidy wrote: > Hi, > > This may or may not be the correct group, but I am having serious > problems with the below regular expression. > > xpath_test = "Payment Method: Visa > View purchased media: Click here > -28e5-4427-bd9f-48996492c267>" > > puts xpath_test > puts xpath_test.match(/ ViewPurchases\.aspx\?Id=.*?>/) > > Could anybody please help? > > Thanks > > Aidy > >