If a simple RE won't work, I usually abandon REs for a simple loop over the string and manually replace stuff. Start at the beginning, find a quote. Find the next quote, replace any == between them. Starting at the character after the second quote, find a quote. Find the next quote, replace any == between them. repeat until you get to the end.
cheers, barneyb On Fri, 18 Mar 2005 11:59:39 -0800, Brook Davies <[EMAIL PROTECTED]> wrote: > Yikes. So is there a better way to do this? I am a bit lost with regular > expressions... > > Brook -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 50 invites. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199404 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54