Find & Replace It!

Mac OSUtilities

Find & Replace It! is a high-end solution to find files and execute search and replace operations across multiple files. 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.

If you regularly work with text files, if you make websites, or develop software, Find & Replace It! allows you to maintain and transform the contents of your files in a few clicks. Do you have to rename a page in a website and thus need to edit URLs in hundreds of files? Simply select the root directory of your website and indicate the string to replace. Then, the replacement can be made across your entire website in just one click. Do you need to modify files headers in some parts of the source code of your application? Find & Replace It! allows to finely filter the files to be processed or not. It also provides tools to introduce contextual information into your replacement string, for instance: the current date, the name of the file where the replacement is in progress, etc. For each batch-replacement, it provides statistics about the number of replacements within every modified file, and counts the number of processed files. Of course, all classical features of such a tool, like the possibility to save your job, backup modified files, export the replacement report, and much more are available.

Here are a few of its key features: • Handles more than 50 different kinds of text encodings. If you have troubles with any kind of Unicode data like UTF-8 encoded files, any Chinese contents, or any other non ASCII contents, Find & Replace It! is the solution for you. It also handles the different kinds of end-of-line. • Handles huge files. If you want to process any kind of files containing tons of text, like a log of 10 GB, Find & Replace It! will do it for you. • Provides a regular expression editor. This editor offers tools to easily build advanced regular expressions even if you are a newbie. • Provides a preview for found and replaced text. The preview window gives you an immediate feed-back that makes easy to check the impact of your replacement within any file without modifying its content. This is especially usefull whenever you are searching for a complex expression and you don't want to replace it blindly in many files. This is of course an excellent regex tool, that let's you easily test your regular expressions. • Makes it possible to dynamically adjust the replacement text. It provides many ways of dynamically adjusting the replacement text according to the context. For instance, it is possible to reuse a fragment of the found expression into the replacement text, do arithmetic operations on found text, insert the path or the name of the processed file, apply conditional operations on the replacement string (JavaScript interface), manipulate dates, etc.

These key features associated to many others makes it one of the most feature rich tool to find and replace regular expressions over multiple files. It's also a powerful tool for converting the text encodings (charsets conversion, including the Byte Order Marks), and the end-of-line delimiters, across multiple files.

Show More...

What's New

• Fix two possible divide by zero exceptions when searching/replacing expression in an empty string. • Update the Qt libraries from 4.7.4 to 4.8.1: important speed improvement of GUI on Mac OS X, new version of Webkit for HTML preview, fix compatibility issue regarding Mac App Store requirements. • Update ICU library to 4.8.1.1 on all platforms • Extend size range for expression to search in preferences: allows a much smaller size of cache for processing search and replace (critical performance improvement when replacing millions of very small strings). The default cache size has been reduced from 5 millions of chars to 100 k. • Add capability of using environment variables within the path to search for files by using the placeholder $amp;:(var-name). • Change units for setting the encoding cache size in preferences. • It's now possible to easily rename a replacement command: proper behavior on double-click on the label of a replacement definition in the Replace Command List, new command in the context menu, added F2 shortcut. • Add a command to edit a replacement definition in the context menu of Replace Command List. • Fixed two bugs when replacing strings in files that may cause an incorrect replacement string in very rare cases (very old regression that was never detected since it nearly never occurs). • Fixed a bug when searching strings in large files that can cause a string match for variable length regexps (i.e. regexps using quantifiers like + or *) that is smaller than the size given in the preferences. • Fixed a bug when starting search or replace on an empty list of files: the button stayed stuck on Stop (regression since v2.0). • The global progress of batch replace was not always properly initialized. The progress of each command is now reported in the last column in order to allow reading the la bel of the currently processed command. • The usage of the preferred codec by default now also applies to conversions of text encoding and line ending. • No more usage of preferred codec by default when finding and replacing strings if the option is not activated. An error message is now shown in the find and replace report if we attempt to manipulate a file without knowing his encoding (previously the default encoding was used). • The Unicode paragraph separators were not replaced when converting the style of line ending. • No more windows flashing when using the command line. • Several additions to the user's guide. • Fix weird behavior after removing several rows at once from the list of replacement commands (bug when opening a FRI file if the list is not empty). • Specific detection of pure ASCII contents: suggest compatible codecs on very small files (or files containing a lot of non-alphabetic chars) even if the the statistic analysis fails to provide a match. • Fix title missing in application's title bar when opening several files one after the other. • Better behavior when a FRI document cannot be saved/saved • Make sure that the UI is properly initialized when loading old FRI files. • Speed up commands launch when working on a large amount of files (initialization of a search commands is especially faster, this is also true for replacements that do not use scripting ) • Restore the shortcut for zooming in and out in text areas. • Fix a very old bug of the preview when displaying Found and replaced expressions side by side, under very specific circumstances. • From now on, the activation data and the settings are going to be preserved when installing a new service pack (e.g. when updating from 2.0.2 to 2.0.3). • Complete the documentation on using JavaScript for manipulating the replacement strings. • Fix minor errors in the advanced replacement example that demonstrates how to convert units (shipped FRI file + user manual).