Crap, I goofed. What I wrote will miss pages/80.png. Should be: leading zero: pages/(0[1-9]|[1-7][0-9]|8[012])\.png
no leading zero: pages/([1-9]|[1-7][0-9]|8[012])\.png replace with: pages/\1.jpg On Nov 23, 10:05 am, pr10n <[email protected]> wrote: > if your filenames have a leading zero (ie 01.png) try this: > > pages/(0[1-9]|[1-7][0-9]|8[12])\.png > > If they don't have a leading zero (ie 1.png) try this: > > pages/([1-9]|[1-7][0-9]|8[12])\.png > > Replace with: > > pages/\1.jpg > > On Nov 22, 7:40 am, Tom007 <[email protected]> wrote: > > > > > Hi > > > I need to find a patten to replace this code in multiple files; > > > pages/xx.png > > > to replace > > > pages/xx.jpg > > > "xx" is a number from 1 to 82 depending the webpage and only need to > > replace the extension .png to .jpg > > Need to be a pattern because a simple find/replace would change > > undesired code that is similar. > > I will use Multi-File Search function for replace this code in > > multiple files. > > > When use Multi-File Search function and do a SAVE SET how can recover > > the criteria again (don't see a load set button)? It saves the search > > data only or the replace data also? > > Thanks. > > Tom -- You received this message because you are subscribed to the "BBEdit Talk" discussion group on Google Groups. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/bbedit?hl=en If you have a feature request or would like to report a problem, please email "[email protected]" rather than posting to the group.
