Menu

multiple replace operations at once

remoo
2008-07-09
2012-11-13
  • remoo

    remoo - 2008-07-09

    I'm searching how to do multiple replace operations together.

    I have +/- 150 htm files and have to change everytime when they are created
    the fontsizes.

    size="-1" --> size="2"
    size="1" -->  size="2"
    size=-2 -->   size="2"
    this website is created ---> this site is

    SAVE files

    Is it possible to do all operations in one operation?

     
    • Fool4UAnyway

      Fool4UAnyway - 2008-07-09

      Suggested reading:

      "[Feature request] Search Replace In Files" (Open Discussion forum)
      http://sourceforge.net/forum/forum.php?thread_id=2034092&forum_id=331753

      I suggest you use TextCrawler to perform 3 replace actions.

      I guess that's better than having to perform a replace script containing 3 actions on 150 files manually. You could use the Simple Script Plug-In to write your script, but it doesn't (yet, Fidvo are you still with us???) allow you to run it on all open files.

       
    • remoo

      remoo - 2008-07-09

      Thank you.
      It is much much quicker then NP++

      (and even worse, I had it already installed on my PC)

      I don't know ho wo do these operations all in once but I'll write them a mail.

       
    • remoo

      remoo - 2008-07-10

      Textcrawler in combination with NP++ is fantastic.
      I used Textcrawler to do a batch command with 4 different find and replace operations. It did the stuff in 3 seconds.