Ah ha! Thanks. -d ----- Original Message ----- From: "Jim Curran" <[EMAIL PROTECTED]> To: "CF-Community" <[EMAIL PROTECTED]> Sent: Thursday, June 26, 2003 7:26 PM Subject: RE: regular expressions in studio
> Deanna, > > What you would do is this: > > In the find: > (pagenav[^" ]+).jpg > > And in the replace: > > \1.gif > > Make sure that the chars in the [ ] make sense as first characters that > FOLLOW the .jpg > > In essence, you are replacing the entire match w/ parts of the original > match... > > Hope that helps. > > - j > > james curran > technical director > nylon technology > [EMAIL PROTECTED] > 212-691-1134 > > > -----Original Message----- > From: Deanna Schneider [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 26, 2003 5:33 PM > To: CF-Community > Subject: regular expressions in studio > > > Okay folks, Kevin asked me a regex question, and I didn't know the answer, > so I'm asking here. > > In studio, when you use extended replace, I can "find" things with regular > expressions, but how do I replace using them? In other words, if I want to > find all references to > pagenav (any characters here) .jpg > and change each occurrence to > pagenav (any characters here) .gif > > How do I change just .xxx part of it? > > (I know how to do this in my cf code using rereplace, but I just don't know > what studio wants me to put in it's replace box.) > > > > --------------------------------------------------------- > Deanna Schneider > UWEX-Cooperative Extension > Interactive Media Developer > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=5 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=5 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5
