Ah, thanks, Ronald. That's neat. It's elegant and more what I thought was possible, but didn't know where to start to figure it out.
I need to delve into grep. I've used your basic \t and \r, but now obviously need to expand on that. On Jul 2, 2:58 pm, Ronald J Kimball <[email protected]> wrote: > On Fri, Jul 02, 2010 at 10:18:29AM -0700, direwolf wrote: > > I would like to find all instance where 2 spaces occur in my file and > > replace with 1 space, but not the instances where the code has > > <space><space>P1. > > Find > > <space><space>(?!P1) > > Replace > > <space> > > Ronald -- 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.
