From: "Martin S. Weber" Date: 2005-01-29T16:40:58+09:00 Subject: Re: string extraction On Sat, Jan 29, 2005 at 04:05:57PM +0900, Navindra Umanee wrote: > Hi, > > I have strings of the form: > > string='.///root/1068663688//1068824962/1068836207//1068932537///' > > Basically, I want to extract the last number in the string. string[%r|/(\d+)/+$|, 1] ? hth, -Martin