Then filter and change/n to \N, so you can find all the newline characters that you "want" to remove, but the result of this search is that the character before the newline character is also included. And why can you find it through/n? I guess EditPlus has abstracted and unified the line breaks in regular expressions in order to realize the editing of multi-platform files. The line break of the file here should be/r\n, because the EditPlus status bar shows that there is an area that shows PC, not Unix or Mac, which means that the type of line break is/r\n. There is an option for "Line break", click After a click, "\n" was automatically added to the search text box, so I tried to use/n to find the newline character, and found it. Click the drop-down arrow next to the search and a drop-down menu will appear. ![]() First try to find the newline character, enter "\r\n" in the text box next to "Find", but no results are found. Press Ctrl+H to bring up the Replace dialog box of EditPlus, there is a "Regular Expression" check box, this must be checked.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |