Anyone know of any Advanced Text Editors with Advanced Search/Replace?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Dan2k3k4
    Member
    • Oct 2003
    • 1283

    #1

    Anyone know of any Advanced Text Editors with Advanced Search/Replace?

    I'm currently using Notepad++ but it seems I can only do a max of two lines for search/replace...

    I need a program where I can search for blocks of text (around 10-12 lines - 1000 characters) instead of just line by line... and I need to be able to replace the blocks of text too...

    Does anyone know of any program that can do this? (Linux or PC)
  • AvalancheDiode
    Need more squeezing
    • Jan 2007
    • 988

    #2
    Re: Anyone know of any Advanced Text Editors with Advanced Search/Replace?

    Originally posted by [BFE]DO|*=DaN=* View Post
    I'm currently using Notepad++ but it seems I can only do a max of two lines for search/replace...

    I need a program where I can search for blocks of text (around 10-12 lines - 1000 characters) instead of just line by line... and I need to be able to replace the blocks of text too...

    Does anyone know of any program that can do this? (Linux or PC)
    With very unhelpful mood in progress right now, I would suggest vim to you.

    Just type ":s/what_ever_you_want_to_be_replaced/whatever_you_want_to_replace/g" under the command mode and it'll be done.

    Or you can do it in command line using sed.

    >> sed -f filename.txt 's/what_ever_you_want_to_be_replaced/whatever_you_want_to_replace/g'

    Check this out. To replace the whole block using sed script.

    Comment

    • Dan2k3k4
      Member
      • Oct 2003
      • 1283

      #3
      Re: Anyone know of any Advanced Text Editors with Advanced Search/Replace?

      Oh nice, I asked on another forum and got two instant responses: one saying to use Textpad and the other UltraEdit... I downloaded UltraEdit to try it out and it's pretty good, does what I need... but I'd have to pay for the full version of it, so I'll keep sed/vim in mind when I'm on linux...

      Just wondering is there a maximum hold buffer? (is the hold buffer dependant on the computer specs or dependant on sed?)

      Comment

      • AvalancheDiode
        Need more squeezing
        • Jan 2007
        • 988

        #4
        Re: Anyone know of any Advanced Text Editors with Advanced Search/Replace?

        Originally posted by [BFE]DO|*=DaN=* View Post
        Just wondering is there a maximum hold buffer? (is the hold buffer dependant on the computer specs or dependant on sed?)
        Should be dependent on linux kernel. But I'm not sure about that. Someone needs to dig into the source code to find how it handles dynamic memory.

        Comment

        • Dan2k3k4
          Member
          • Oct 2003
          • 1283

          #5
          Re: Anyone know of any Advanced Text Editors with Advanced Search/Replace?

          I'm sure I wouldn't come close to it in any case won't exactly be searching 20gb Text files for 1gb blocks of text to replace with different gb of text :lol:

          Comment

          • KillerStickMan
            Senior Member
            • Oct 2007
            • 817

            #6
            Re: Anyone know of any Advanced Text Editors with Advanced Search/Replace?

            Originally posted by [BFE]DO|*=DaN=*
            I'm sure I wouldn't come close to it in any case won't exactly be searching 20gb Text files for 1gb blocks of text to replace with different gb of text :lol:
            Really? Cause I do that all the time...

            Comment

            Working...