[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
On Tue, 23 Dec 2008, Simon Robert wrote: > I need to rename, for example, cindi_001-l.jpg to cindi_001.jpg. > > The cms app that this site runs has a rename app using regular > expressions. I've tried, but can't get it to work, would anyone know the > regexp for the above change? Taking a complete stab in the dark as I don't know what syntax your CMS uses or exactly what you're trying to rename: s/\-[a-z]\.jpg$/.jpg/ That might work. Alex. -- The Mailing List for the Devon & Cornwall LUG http://mailman.dclug.org.uk/listinfo/list FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html