String-O-Matic, formerly known as File Substring Replacement Utility, is a shareware to run string replacement jobs in batch mode.
Software programmers will eventually run into situations where they have to replace strings in their code. If it is a large project, this can mean to edit code in dozens, hundreds or even thousands of files located in multiple directories.
If done manually, the chance is high that instances that require replacements are missed, and that in turn may lead to additional debugging hours until the issue is resolved.
String-O-Matic has been designed as a software programming helper. It works with all computer languages that use source files that can be edited in text editor; languages such as PHP, HTML, CSS and many more are supported by the application because of that.
The computer software supports both renaming operations on file contents and on file names, and supports the use of the two variables (*) and (?). The interface of the application is tab driven, and the user needs to go through each tab to configure a new rename job.
Source files will be selected in the first tab. This can be done by adding them manually, pasting them, or using a file browser that unfortunately cannot load the contents of directories into the application (meaning that you can only load files, but not select a directory so that all files of it are included). Files can be excluded by dates.
The next tab defines the file replacement operation. It is possible to define multiple strings to be replaced in there at once, which is one of the greatest strengths of the application.
The options in the third tab list several important settings like matching only whole words, enabling wildcard use, case sensitivity or limiting the replacements.
The fourth tab contains logging options. A record log will be written by default which will log all operations. This can be changed to disable logging or to log only positive or negative hits. The batch tab is the final tab which allows to execute batch files before or after the operation.
String-O-Matic is compatible with all editions of Windows including Windows XP and Windows Vista. It can be downloaded directly from the developer's homepage.
String-O-Matic is a powerful program for text replacement and file rename operations. While you can run similar jobs using most text editors, the majority of those don't support the same level of features that String-O-Matic offers.
Most don't offer multiple replace jobs at the same time for instance. So, if you need to run complex rename operations, e.g. multiple renames, require regular expressions, or other features, then you may not find those supported by the text editor or code editor that you use normally.
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.