Removing “NUL” characters

前端 未结 7 1447
死守一世寂寞
死守一世寂寞 2020-11-29 19:44

I have got characters like that in my notepad++

When i am trying to copy whole line, i am actually copying everything until \"NUL\":

File:1
         


        
相关标签:
7条回答
  • 2020-11-29 20:07

    Highlight a single null character, goto find replace - it usually automatically inserts the highlighted text into the find box. Enter a space into or leave blank the replace box.

    0 讨论(0)
  • 2020-11-29 20:13

    Click Search --> Replace --> Find What: \0 Replace with: "empty" Search mode: Extended --> Replace all

    0 讨论(0)
  • This might help, I used to fi my files like this: http://security102.blogspot.ru/2010/04/findreplace-of-nul-objects-in-notepad.html

    Basically you need to replace \x00 characters with regular expressions

    0 讨论(0)
  • 2020-11-29 20:22

    Try Find and Replace. type \x00 in Find text box, check the Regular expression option. Leave Replace textbox blank and click on replace all. short cut key for find and replace is ctrl+H.

    0 讨论(0)
  • 2020-11-29 20:25

    Open Notepad++
    Select Replace (Ctrl/H)
    Find what: \x00
    Replace with:
    Click on radio button Regular expression
    Click on Replace All

    0 讨论(0)
  • 2020-11-29 20:27

    I was having same problem. The above put me on the right track but was not quite correct in my case. What did work was closely related:

    • Open your file in Notepad++
    • Type Control-A (select all)
    • Type Control-H (replace)
    • In 'Find What' type \x00
    • In 'Replace With' leave BLANK
    • In 'Search Mode' Selected 'Extended'
    • Then Click on 'Replace All'
    0 讨论(0)
提交回复
热议问题