On 01/20/2010 11:27 PM, Stefan Gonick wrote: > Thank you for all of the interesting options for text editors. After exploring > them a bit, I see that they all handle my original request. However, I have > now gotten clear on a feature that I would really love. > > I need to clean up files on a regular basis where I would like to run a > series of regex find and replace commands. I would like to be able to > store these commands into a macro or a set of macros. > > I tried downloading and playing with Notepad++, but it's macros do not > support the find and replace command. The other editors have to be > purchased, though they do support a free trial period. Does anyone know > if any of these editor will do what I want so that I don't have to download > and try out each one of them? The available documentation online doesn't > answer my question. > You could always just use the unix /sed/ command - there should be a version of it in cygwin if you can't find a standalone windows version. sed -e 's/oldtext/newtext/' <files> will run a search and replace regex against a list of files. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.hidden-tech.net/pipermail/hidden-discuss/attachments/20100121/aa730e75/attachment.html