From: Lex Williams Date: 2008-08-25T20:44:26+09:00 Subject: Re: Regular Expressions > Thanks for the reply..it works but my url is like this > > ="http://www.ingolfwetrust.com/golf-central/content/binary/Davis-Love-III.jpg"> > - ="http://www.ingolfwetrust.com/golf-central/aggbug.ashx?id=56f9e33a-6333-4daf-b4e1-137ddc051adf"> > > so it gives me only this > > aggbug.ashx?id=56f9e33a-6333-4daf-b4e1-137ddc051adf"> > > > Pls Help me on this What do you want to do with aggbug.ashx?id=56f9e33a-6333-4daf-b4e1-137ddc051adf ? Are you using it ? If not , for the rest of the pictures , you could be calling File.basename on them and get the last part only . For example , on http://www.ingolfwetrust.com/golf-central/content/binary/Davis-Love-III.jpg you will receive Davis-Love-III.jpg . -- Posted via http://www.ruby-forum.com/.