Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.

You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.

I call onto you developers! What is the best textual search and replace around? I'm working with Topstyle at the moment for my web development, and the program is fantastic but the search / replace functionality is lacking (no replace in multiple files for example). I'm not switching editors though.

So I've been using various programs such as VGrep (result window is not clear enough for me), Windows Grep (crashes on my system - not freeware), ReplaceEm(unweildy interface and by default makes backups of files even if they're not changed) etc. Textcrawler is the best I found so far.

Textcrawler is freeware, has a usable but powerful interface, the results window shows the line and highlighted query inside the file as well as the filelist itself, and allows you to select which files to replace (so you could find all .htm files but only replace the term in certain files). It can also make backups of changed files. It has a few tools for Regexes too.

But it has a splash dialogue on load (guess that's fair).

There is similar functionality in programs like Notepad++ but that requires more clicks, plus even notepad's search and replace dialog is not the most usable either. (and not as good as TextCrawler).

BUT perhaps you use a better program. So I'd be interested to hear what you use and what feature you need that the program provides. Thanks.

Textcrawler 1,7 MB download contains VB Runtime files also.The Textcrawler.exe is only 125kB if packet with UPX.Unpack with UniExtract was enough to use it on XP.

But Textcrawler uses the Registry to store it Settings. ([HKEY_CURRENT_USER\Software\DigitalVolcano\TextCrawler])Much more desired would be settings in an INI or XML file to be portable.

Why can't i change the border line between the found-files-window and the found-results-window?I have two files found only but a many text finds.... but i can't split the GUI as i need.

The Find/Replace and so buttons are a lill bit to big. I would like smaller one leaving more room for the windows.

The main GUI is by default higher then wide.I can resize them .... but the big button still need much room.I would like to have smaller buttons and more placed them in the wide (left/right)with an default GUI in landscape format so i have more room for the found-files and found-text windows.

An non-install ZIP without the VBruntimes with an hint that the runtimes are need would be very nice.

If i have the time i will contact the author of this fine piece of work.

Edit:piece, not peace

I will test the regex option.

OK, Tested a lill bit:TextCrawler use Microsoft VBScript Regular Expressions library 5.5 - this will usually already be available if you have IE5.5 or above installed.

I was able to search an RegEx over multible line with <script(.|\n)+?</script>

4bit (16 colors) PNG =>22kB only.

-----------

I think there is room to improve the GUI? What do you think about my study? I will contact the author about this:

Hi justice. I have been lurking around several posts like this as I am not a developer (though I am trying to learn to be one ). However, I do my fair share of (X)HTML and CSS and am learning others. I have found time and again, for a multitude of these types of issues, a good text editor such as TextPad, NotePad++, et. al. are perfect. They have keyword highlighting, code block insertions and are easy to do search and replace. If you are trying to do so over several different files, I find a full blown IDE works better. Refactoring in Eclipse or NetBeans is pretty trivial when working in Java, and Visual Studio can't be beat using any .Net language. Others I don't know about, but I would guess they would have similar capabilities.

PowerGrep is powerful beyond belief--but you pay for it accordingly. The power and control available when using it is unmatched--and boasts a comprehensive system of backing up/rolling back changes. I doubt there's anything out there that can do more or as well so intuitively. Like I said, though--doesn't come cheap. (149 USD)

PowerGrep (Or if you want to pat me on the back, there's a link in my signature with my referrel code). But, of course, I praise because I love not because there is a referrel program

My favorite feature(s) would have to be its ability to perform additional regex on matches (regex within a match) -- use it all the time, first capturing a block of [something], performing actions within that, then moving onto the next, repeat. Prior to PowerGrep, I spent a lot of time writing scripts to perform that kind of functionality.

Copied from features page:

Quote

Apply any number of search terms of regular expressions sequentially or concurrently. Complex search and replace operations often require multiple steps. Use PowerGREP to execute as many steps as you want in a single operation. Run the steps concurrently (search matches won't overlap), or sequentially (replacements cascade onto the following steps). Save all steps into a single PowerGREP Action for instant reuse.

Similarly, while searching or collecting data, use a list of search terms or regular expressions to find files matching different criteria, or to extract disparate information from each file.

Edit: attached a couple images--the first is a search library that emulates syntax markup from a wiki script. The second are the results displayed.

I used to use Agent Ransack years ago - maybe I need to check it out again.

Lately I've just been creating one-off custom programs to fit what I need though. Often my requirements I can meet quickly with some simple RegEx and it takes about the same time to program as to figure out the RegEx expression.

As for PowerGrep... It's a mean beast with power out the wahoo. Jan is a really smart guy and has done a fantastic job there (but who wouldn't when they live in beautiful Thailand?). Though like others, I find it hard to justify the cost.

But have unInstalled them a long time ago (probably through lack of use), now I use PSPad which definitely isn't the best, but it satisfies my needs (which I think are pretty simple): Though Alan's post turned me green

Take a look at Eric Pement's Web site. Click on the SED link, then keep paging down until you come to the "Console/command line apps" and "Windows apps" sections on search and replace utilities. His link for the old freeware version of HFFR is broken, but you can find it around the Web if you look. Otherwise, the address for the current payware versions is http://www.silveragesoftware.com/

[Edit]Silver Age Software offer this freeware:

Quote

Regular Expression Laboratory is an assistant simple to use tool to help you learn and prepare regular expressions.

If you are a developer or just concerned with text processing tasks, the Regular Expression Laboratory is a tool that you need. In fact, you felt that you need a program like this but could not formalize your needs. We have done this job for you. Now you can construct your regular expressions with much ease and test them by applying to an arbitrary text.

"I suppose it can be said that I'm an absent-minded driver. It's true that I've driven through a number of red lights on occasion, but on the other hand, I've stopped at a lot of green ones but never gotten credit for it."Glenn Gould

I like it and the developer is active on his own support forum, which helps! I also have a licence for PowerGrep (I used my PhD research as a justification for the the cost) and it is amazing. For searches I use FileLocator Pro or Archivarius, for simple and quick replacements AFR and for complex stuff PowerGrep. I know I could do it all with a combo of PowerGrep and Archivarius, but variety is, as they say, the spice of life. Life is spicy...

Logged

"Some people have a way with words, other people,... oh... have not way" - Steve Martin

I'm the developer of TextCrawler. Thanks for the suggestions AbteriX - window resizing is a must for for the next minor update. Going forward I also hope to put in more power features - batch processing for one. If anyone has a suggestions for the best features to implement/rip off from the shareware programs I'm all ears!

Do people post betas for testing round here? I will have a little something soon that poker fans might like.

I've used ReplaceEm a number of times and found it fast and reliable (backup is good default considering the mess a "misreplacement" can do.) But I think I'll download TextCrawler and give it a spin next time i need that.

Great, got to try it out. It's now several weeks after and I have to say i'm still completely happy with TextCrawler as my search / replace tool. Topstyle is now adding a search / replace but even though it's one of the better implementations I still find TextCrawler better for the job.

One thing I'd like to see is a "select all" and "inverse selection" (alredy in 1.03) toggle.When wanting to make a change in 20 files out of 25, it's easier to select all of them and remove the checks from 5 of them. Or select 5 and then do "inverse selection". At the moment i have to place 20 checkboxes.

Maybe even selecting multiple lines with the SHIFT / CTRL functionality from explorer and then press space to place the selection toggle. Although i've not checked 1.03 so that might be improved already.

[silly]Arrgh, i am looking every day at DV.uk what's new.... then i missed the release day yesterday....... and now i didn't see that's the release already announced here grrmml how could i overlooked this thread update?Any way, here's my post, i don't wanna delete it [/silly]

Changelog:Removed max size limitation in combo boxes, (was 255 chars before)Optimised form layout,Resizable File and preview windows, (see what you prefer, more of the file list or more of the search result )Store Replace texts in RegEx library, (now you are able to store search AND replace strings as pair)Store window settings,Right-click Context menu in file window. (Mark all selected files, invert,...)Multi-select in file window (as in explorer: Shift+Click, Strg+Click, range by holding left button and slide the mouse)Sort columns/marked files bugfix.No splash after first run.

You might want to back up your regex.txt file before installing just in case it get overwritten (hopefully it shouldn't)

One thing I'd like to see is a "select all" and "inverse selection" (alredy in 1.03) toggle.When wanting to make a change in 20 files out of 25, it's easier to select all of them and remove the checks from 5 of them. Or select 5 and then do "inverse selection". At the moment i have to place 20 checkboxes.

You may know this already (i saw your edit), but just for the record:"Select All" is there too:

1) select one (the first file e.g.)2) invert selection3) select the first one again

I have been using Wildreplace for a while and found its feature set really nice:

WildReplace is a search & replace tool that lets you search for files on your disks and presents the results in a folder tree highlighting the folders and files that have been found. Most programs of its kind display a plain list of results; WildReplace presents the information by maintaining the folder structure of your disk, and highlighting the folders that contain files that have matched your search criteria.

You can search for files with special attributes (Read-Only, System, Archive, etc.), files that contain a matching phrase (works with both Text and Binary files). WildReplace can also replace text on files. WildReplace can create backups of modified files, delete files that match your search criteria or move all matching files to a new location while preserving the same folder structure.

Wildreplace also supports RegExpr and is freeware.

If one likes a really simple and functional program TexRep would be worth considering:

Replace text in multiple files in a single operation. Make backup copies of your original files, select case sensitive or insensitive searches, or choose between replacing whole or partial text strings. New features in version 2.0 includes improved user interface (Win XP compatible), a new scan folder(s) option, etc. Freeware.