I'm looking for a regular expression based search/replace GUI tool that is able to handle multiple files/subdirectories, something like grepWin but for Mac OS X.
Unix Tools Included with Mac OS X. Several Unix tools are included with Mac OS X that can be useful in forensic investigations. The first of these, the dd command, was discussed in part 1 of this series as a method for acquiring a forensic disk image. I need help with a regex to extract mac addresses from a large file. Productivity tracker tool for mac. Grep Regex for Mac Address. Ask Question. As far as I know sed is pretty fast but grep usually is a big bet. – Birei Apr 25 '12 at 14:54. Cool, thanks for the info! – Alex_Hyzer_Kenoyer Apr 25 '12 at 15:00. An application providing superior performance for loading and searching through large text files Interpret text documents in any encoding supported by Mac OS.
PS. I'm aware of grep and I don't need an editor, just a standalone tool.
A powerful search and replace utility. It allows performing very complex batch replacements inside text files of any size. It supports regular expression syntax and dozens of encodings. It has scripting capabilities which allow transforming on the fly the replacement text for every found string. It even handles batch processing of the encoding of files, as well as of types of end-of-lines.
Here are some key features of Find & Replace It!:
Find and replace across many files at once
Supports regexps
Supports many text encodings
Provides a regexp editor
Provides a find & replace preview
Offers a scripting interface that allows to transform replacement text on the fly
Many more features
It's developed by dProg - Philippe Docourt. I've never used it, so take this reccomendation with a grain of salt!
You're probably looking for a GUI app, but I can reccomend a terminal command. Perl can do inline replacement:
This will find all files under the current directory and replace based on the provided regexp. If you need to change directories, an easy way is to type: cd (be sure there's a space after) and then drag and drop a folder from the Finder onto the terminal window. Press return and you'll be in the folder you want; then run the perl command above.
If you want perl to make backup copies before replacing, run:
I understand that you don't need a full editor, but often the best tools are found within one. TextMate has full support for regular expressions and handles files and directories very well. Another that I haven't tried but heard good things about is TextWrangler.