From: arjun ghosh Date: 2009-03-23T21:18:55+09:00 Subject: Re: Regular expression --000e0cd5089cbfef220465c84fc4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Check out the site http://www.rubular.com/ It is very helpful in solving RegEx problems ciao, Arjun http://arjunghosh.wordpress.com twitter.com/arjunghosh On Mon, Mar 23, 2009 at 12:19 PM, Arun Kumar wrote: > Hi, > I know that what i'm going to ask is for the solution for a simple > problem. But as I'm new to Ruby I have not learnt a lot about regular > expressions in Ruby. > > Can anybody tell me how to extract all the contents which are included > inside the '' and '' tag and also to extract the text given > in between the '' and '' tag using regular expression. I know it > can be extracted using the 'scan' method but I dont know what should be > the matching patterns or expressions. Can anybody pls help me > > Regards > Arun > -- > Posted via http://www.ruby-forum.com/. > > --000e0cd5089cbfef220465c84fc4--