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

                                        How to write a 12-bar blues melodyI-IV-V blues progressionHow to play the bridges in a standard blues progressionHow does Gdim7 fit in C# minor?question on a certain chord progressionMusicology of Melody12 bar blues, spread rhythm: alternative to 6th chord to avoid finger stretchChord progressions/ Root key/ MelodiesHow to put chords (POP-EDM) under a given lead vocal melody (starting from a good knowledge in music theory)Are there “rules” for improvising with the minor pentatonic scale over 12-bar shuffle?Confusion about blues scale and chords

                                        What if the end-user didn't have the required library?What is setup.py?What is a clean, pythonic way to have multiple constructors in Python?What does Ruby have that Python doesn't, and vice versa?What is the reason for having '//' in Python?How do I create a namespace package in Python?How to package shared objects that python modules depend on?setuptools vs. distutils: why is distutils still a thing?Navigation in Windows 10 vs code not going to virtualenv library when the same library is installed at user levelPython create package for local usePackaging a project that uses multiple python versionsWhy is permission denied on pip install except for when “--user” is included at end of command?

                                        Why did Thanos need his ship to help him in the battle scene?Which actor plays Thanos in the Avengers mid-credits scene?Are there economic implications portrayed in comics where the buildings and cities are ruined almost daily?Old X-Men comic where team travels to alien world with a ring-like sun that needs recharging?Why does Ego need help sleeping?Is there an objective answer to who “the strongest Avenger” is?How did Banner get unstuck?Why did Thanos get hit?How did Thanos (or anyone) know the Infinity Stones would give him this power?Did Thanos leave Eitri alive for his after-sales service?In Avengers 1, why does Thanos need Loki?