From: Jon Lim Date: 2006-10-27T23:39:21+09:00 Subject: Re: a regex s = "2006%2F10%2Fasdfasdf" year,month,other = URL.decode(s).split(/\//) On 27/10/06, Alexandru Popescu wrote: > Hi! > > I have a string in the following form: 2006%2F10%2Fasdfasdf (or more > generic: any_characters+%2Fany_characters+%2Frest_of_it). I am > wondering if I can retrieve the groups 2006, 10, asdfasdf thru a regex > (I confess I couldn't figure it out so far :-( ). > > many thanks, > > ./alex > -- > .w( the_mindstorm )p. > > -- http://www.snowblink.co.uk/