SandR is a Recursive Regex Search and Replacement utility. It works on files or directories recursively. It supports Java-style Regular Expression in Search terms; it supports auto-detection of character encoding of the files. SandR is written in Java.

Project Samples

Project Activity

See All Activity >

License

GNU General Public License version 2.0 (GPLv2)

Follow Recursive Search and Replace

Recursive Search and Replace Web Site

You Might Also Like
The next chapter in business mental wellness Icon
The next chapter in business mental wellness

Entrust your employee well-being to Calmerry's nationwide network of licensed mental health professionals.

Calmerry is beneficial for businesses of all sizes, particularly those in high-stress industries, organizations with remote teams, and HR departments seeking to improve employee well-being and productivity
Rate This Project
Login To Rate This Project

User Ratings

★★★★★
★★★★
★★★
★★
0
0
0
1
2
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 2 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5

User Reviews

  • A few years later the developer seems to have eliminated the bug reported by previous reviewers. In JRE 8 on Windows 7 Pro this app is working fine for me without adding extra end-of-lines. It still has a significant bug, however, with recursion, and as it is being billed specifically as a recursive tool, this is a major problem. As a result, the improved Sandr still merits only one additional star. So what are the problems? First, the Recursive box must be checked or the app won't work at all--even if you've only told it to work on a single file, in which case no recursion should be occurring. Second, even when the Recursive box is checked, the app will not work on multiple files. You'll specify a folder in the File/Directory field (I pasted a path into it), and when you press Go the app will say that it's searching through the folder and its subdirs, but it won't find anything even when there are valid matches to be found. I tested this by using the exact same file in the exact same folder with the exact same regex. First I put a test file into a folder, then pasted the path+filename into Sandr's File/Directory field. When I ran the regex, the replacement worked correctly. Next, I deleted the changed file and replaced it with the original test file so I could re-run the regex, and then I pasted only the path to the folder, not including the filename. But I made sure that Recursive was checked, so it should have found any matches in any text files within that folder (and any subfolders). Well, when I ran the regex, the app scanned through the folder and subfolders and then reported NO MATCHES, even though it had matched the relevant text in the exact same file when the filename was specified. So at this point Sandr works only on individual files. It does not live up to its billing as a "Recursive Search and Replace" tool.
  • Like the other reviewer said, this utility is also destructive to your files when doing Search/Replace operations on a Windows machine. Each pass, it appends a Carriage Return character (\u000D or ^M) to each line, which corrupts the initial format of all files it scans. Hopefully you backed up your directory... otherwise you'll have a lot of editing to do... and cussing. Therefore this program should be avoided. To the author: please fix, or remove.
  • The search-only feature modifies files by adding an extra line break for each line.
Read more reviews >

Additional Project Details

Intended Audience

Advanced End Users, Developers, End Users/Desktop

User Interface

Java Swing

Programming Language

Java

Related Categories

Java Text Processing Software, Java Software Development Software

Registered

2005-11-07