Tool for multiple pattern search and replaceHow to replace a text string in multiple files in LinuxHow to replace text string in any type file(for example binary and …) and multiple files in linux?Utility to search and replace text in files including subdirectories in WindowsMass search / replace string from ssh?search and replace ldap attributefind and replace text with sequence of numbersSearch and Replace in .htaccess files in linuxString search and replace across an entire databasefind and replace text from urls in csv data feed Debian 7Find and replace text (multichars) in .js files on Linux

How should I behave to assure my friends that I am not after their money?

Why cruise at 7000' in an A319?

What determines the "strength of impact" of a falling object on the ground, momentum or energy?

How could mana leakage be dangerous to a elf?

Mount a folder with a space on Linux

What would Earth look like at night in medieval times?

Is there a short way to compare many values mutually at same time without using multiple 'and's?

Averting Real Women Don’t Wear Dresses

The use of "I" and "we" used in the same sentence and other questions

Pull-up sequence accumulator counter

Is it OK to bottle condition using previously contaminated bottles?

Transition from ascending to descending a rope

Why does Darth Sidious need bodyguards?

C-152 carb heat on before landing in hot weather?

Architecture of networked game engine

Should my manager be aware of private LinkedIn approaches I receive? How to politely have this happen?

Is my Rep in Stack-Exchange Form?

Why does the A-4 Skyhawk sit nose-up when on ground?

Are there any vegetarian astronauts?

Are Finite Automata Turing Complete?

The impact of an intelligent and (mostly) hostile flying race on weapons and armor

Going to get married soon, should I do it on Dec 31 or Jan 1?

In the Marvel universe, can a human have a baby with any non-human?

What do you call the action of someone tackling a stronger person?



Tool for multiple pattern search and replace


How to replace a text string in multiple files in LinuxHow to replace text string in any type file(for example binary and …) and multiple files in linux?Utility to search and replace text in files including subdirectories in WindowsMass search / replace string from ssh?search and replace ldap attributefind and replace text with sequence of numbersSearch and Replace in .htaccess files in linuxString search and replace across an entire databasefind and replace text from urls in csv data feed Debian 7Find and replace text (multichars) in .js files on Linux






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








2















I am looking for an easy to use tool that will allow me to have batch of search/replace pairs. Rolling out to different environments requires us to search/replace server names in database scripts. I would like to create a list of search/replace pairs that I can run a file through to prepare it for an environment.



Any OS would be interesting, but my specific need is for Windows.










share|improve this question




























    2















    I am looking for an easy to use tool that will allow me to have batch of search/replace pairs. Rolling out to different environments requires us to search/replace server names in database scripts. I would like to create a list of search/replace pairs that I can run a file through to prepare it for an environment.



    Any OS would be interesting, but my specific need is for Windows.










    share|improve this question
























      2












      2








      2








      I am looking for an easy to use tool that will allow me to have batch of search/replace pairs. Rolling out to different environments requires us to search/replace server names in database scripts. I would like to create a list of search/replace pairs that I can run a file through to prepare it for an environment.



      Any OS would be interesting, but my specific need is for Windows.










      share|improve this question














      I am looking for an easy to use tool that will allow me to have batch of search/replace pairs. Rolling out to different environments requires us to search/replace server names in database scripts. I would like to create a list of search/replace pairs that I can run a file through to prepare it for an environment.



      Any OS would be interesting, but my specific need is for Windows.







      text search-and-replace






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Sep 3 '09 at 19:03









      Mike SchallMike Schall

      1711 silver badge4 bronze badges




      1711 silver badge4 bronze badges




















          3 Answers
          3






          active

          oldest

          votes


















          1














          FART.. Find And Replace Tool.



          http://sourceforge.net/projects/fart-it/



          It can be command line scripted if you need.






          share|improve this answer






























            1














            For *nix, generally some sort of tool that support regular expressions would be used. Someone would probably use sed, awk, Perl, or Python. You might consider wingrep for windows.






            share|improve this answer






























              0














              PowerGREP will do what you need. They include a 15-day trial, but it is for 15 days that you are actually using the product, so its quite a nice trial.



              Once you start up the program there are two drop downs beside each other; 'Action Type' and 'Search Type'. Change Action Type to 'Search and replace'. Change 'Search Type' to 'List of Literal Text' or 'List of regular expressions'. You can add and remove Search/replacement Pairs.



              http://www.powergrep.com/index.html
              alt text
              (source: biffis.com)






              share|improve this answer



























                Your Answer








                StackExchange.ready(function()
                var channelOptions =
                tags: "".split(" "),
                id: "2"
                ;
                initTagRenderer("".split(" "), "".split(" "), channelOptions);

                StackExchange.using("externalEditor", function()
                // Have to fire editor after snippets, if snippets enabled
                if (StackExchange.settings.snippets.snippetsEnabled)
                StackExchange.using("snippets", function()
                createEditor();
                );

                else
                createEditor();

                );

                function createEditor()
                StackExchange.prepareEditor(
                heartbeatType: 'answer',
                autoActivateHeartbeat: false,
                convertImagesToLinks: true,
                noModals: true,
                showLowRepImageUploadWarning: true,
                reputationToPostImages: 10,
                bindNavPrevention: true,
                postfix: "",
                imageUploader:
                brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
                contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
                allowUrls: true
                ,
                onDemand: true,
                discardSelector: ".discard-answer"
                ,immediatelyShowMarkdownHelp:true
                );



                );













                draft saved

                draft discarded


















                StackExchange.ready(
                function ()
                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f62131%2ftool-for-multiple-pattern-search-and-replace%23new-answer', 'question_page');

                );

                Post as a guest















                Required, but never shown

























                3 Answers
                3






                active

                oldest

                votes








                3 Answers
                3






                active

                oldest

                votes









                active

                oldest

                votes






                active

                oldest

                votes









                1














                FART.. Find And Replace Tool.



                http://sourceforge.net/projects/fart-it/



                It can be command line scripted if you need.






                share|improve this answer



























                  1














                  FART.. Find And Replace Tool.



                  http://sourceforge.net/projects/fart-it/



                  It can be command line scripted if you need.






                  share|improve this answer

























                    1












                    1








                    1







                    FART.. Find And Replace Tool.



                    http://sourceforge.net/projects/fart-it/



                    It can be command line scripted if you need.






                    share|improve this answer













                    FART.. Find And Replace Tool.



                    http://sourceforge.net/projects/fart-it/



                    It can be command line scripted if you need.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Sep 3 '09 at 19:07









                    cagcowboycagcowboy

                    9141 gold badge11 silver badges20 bronze badges




                    9141 gold badge11 silver badges20 bronze badges























                        1














                        For *nix, generally some sort of tool that support regular expressions would be used. Someone would probably use sed, awk, Perl, or Python. You might consider wingrep for windows.






                        share|improve this answer



























                          1














                          For *nix, generally some sort of tool that support regular expressions would be used. Someone would probably use sed, awk, Perl, or Python. You might consider wingrep for windows.






                          share|improve this answer

























                            1












                            1








                            1







                            For *nix, generally some sort of tool that support regular expressions would be used. Someone would probably use sed, awk, Perl, or Python. You might consider wingrep for windows.






                            share|improve this answer













                            For *nix, generally some sort of tool that support regular expressions would be used. Someone would probably use sed, awk, Perl, or Python. You might consider wingrep for windows.







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Sep 3 '09 at 19:19









                            Kyle BrandtKyle Brandt

                            66.9k62 gold badges267 silver badges416 bronze badges




                            66.9k62 gold badges267 silver badges416 bronze badges





















                                0














                                PowerGREP will do what you need. They include a 15-day trial, but it is for 15 days that you are actually using the product, so its quite a nice trial.



                                Once you start up the program there are two drop downs beside each other; 'Action Type' and 'Search Type'. Change Action Type to 'Search and replace'. Change 'Search Type' to 'List of Literal Text' or 'List of regular expressions'. You can add and remove Search/replacement Pairs.



                                http://www.powergrep.com/index.html
                                alt text
                                (source: biffis.com)






                                share|improve this answer





























                                  0














                                  PowerGREP will do what you need. They include a 15-day trial, but it is for 15 days that you are actually using the product, so its quite a nice trial.



                                  Once you start up the program there are two drop downs beside each other; 'Action Type' and 'Search Type'. Change Action Type to 'Search and replace'. Change 'Search Type' to 'List of Literal Text' or 'List of regular expressions'. You can add and remove Search/replacement Pairs.



                                  http://www.powergrep.com/index.html
                                  alt text
                                  (source: biffis.com)






                                  share|improve this answer



























                                    0












                                    0








                                    0







                                    PowerGREP will do what you need. They include a 15-day trial, but it is for 15 days that you are actually using the product, so its quite a nice trial.



                                    Once you start up the program there are two drop downs beside each other; 'Action Type' and 'Search Type'. Change Action Type to 'Search and replace'. Change 'Search Type' to 'List of Literal Text' or 'List of regular expressions'. You can add and remove Search/replacement Pairs.



                                    http://www.powergrep.com/index.html
                                    alt text
                                    (source: biffis.com)






                                    share|improve this answer















                                    PowerGREP will do what you need. They include a 15-day trial, but it is for 15 days that you are actually using the product, so its quite a nice trial.



                                    Once you start up the program there are two drop downs beside each other; 'Action Type' and 'Search Type'. Change Action Type to 'Search and replace'. Change 'Search Type' to 'List of Literal Text' or 'List of regular expressions'. You can add and remove Search/replacement Pairs.



                                    http://www.powergrep.com/index.html
                                    alt text
                                    (source: biffis.com)







                                    share|improve this answer














                                    share|improve this answer



                                    share|improve this answer








                                    edited Jun 9 at 3:22









                                    Glorfindel

                                    5481 gold badge8 silver badges18 bronze badges




                                    5481 gold badge8 silver badges18 bronze badges










                                    answered Sep 3 '09 at 19:18









                                    dubRundubRun

                                    9412 gold badges10 silver badges22 bronze badges




                                    9412 gold badges10 silver badges22 bronze badges



























                                        draft saved

                                        draft discarded
















































                                        Thanks for contributing an answer to Server Fault!


                                        • Please be sure to answer the question. Provide details and share your research!

                                        But avoid


                                        • Asking for help, clarification, or responding to other answers.

                                        • Making statements based on opinion; back them up with references or personal experience.

                                        To learn more, see our tips on writing great answers.




                                        draft saved


                                        draft discarded














                                        StackExchange.ready(
                                        function ()
                                        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f62131%2ftool-for-multiple-pattern-search-and-replace%23new-answer', 'question_page');

                                        );

                                        Post as a guest















                                        Required, but never shown





















































                                        Required, but never shown














                                        Required, but never shown












                                        Required, but never shown







                                        Required, but never shown

































                                        Required, but never shown














                                        Required, but never shown












                                        Required, but never shown







                                        Required, but never shown







                                        Popular posts from this blog

                                        Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

                                        Bruxelas-Capital Índice Historia | Composición | Situación lingüística | Clima | Cidades irmandadas | Notas | Véxase tamén | Menú de navegacióneO uso das linguas en Bruxelas e a situación do neerlandés"Rexión de Bruxelas Capital"o orixinalSitio da rexiónPáxina de Bruselas no sitio da Oficina de Promoción Turística de Valonia e BruxelasMapa Interactivo da Rexión de Bruxelas-CapitaleeWorldCat332144929079854441105155190212ID28008674080552-90000 0001 0666 3698n94104302ID540940339365017018237

                                        What should I write in an apology letter, since I have decided not to join a company after accepting an offer letterShould I keep looking after accepting a job offer?What should I do when I've been verbally told I would get an offer letter, but still haven't gotten one after 4 weeks?Do I accept an offer from a company that I am not likely to join?New job hasn't confirmed starting date and I want to give current employer as much notice as possibleHow should I address my manager in my resignation letter?HR delayed background verification, now jobless as resignedNo email communication after accepting a formal written offer. How should I phrase the call?What should I do if after receiving a verbal offer letter I am informed that my written job offer is put on hold due to some internal issues?Should I inform the current employer that I am about to resign within 1-2 weeks since I have signed the offer letter and waiting for visa?What company will do, if I send their offer letter to another company