![]() ![]() We can use“ Search- replace”Replace the data. However, when the number is large, it is too troublesome. If the number of blank lines is small, you can directly delete a little with the mouse, as shown in the following figure. It can be clearly seen from the above figure that one line is blank and two consecutive lines are blank. The examples in this article are mainly self built files, mainly the processing of blank lines and code, as shown in the following figure.Ģ. Open EDITPLUS and open the file you want to process. 70.917 sinicized Green Special Edition ġ. If you are not at ease, you can click Find first, look at each one and then replace.EditPlus v3. ![]() (6) Select "Line feed" and insert "\n" to indicate carriage return. The asterisk indicates that there are zero or more spaces or tabs in the bracket "" in front of it in a row. (5) Move the cursor, move the current insertion point after "]", then select "0 or more matches", and add the asterisk character "*". (4) Select "Tab" and add "\t" which represents a tab. Space characters are a component of blank lines. (3) Press the space bar to add a space character. Brackets are expressed in regular expressions, and the characters in the text match any character in the brackets to meet the search conditions. (2) Select "characters in range", add a pair of brackets "" after "^", and the current insertion point is in the brackets. ![]() (1) Select " Start of line", the character "^" appears in the search content combo box, indicating that the string to be searched must appear at the beginning of a line in the text to meet the conditions. I searched the Internet and used editplus to solve the problem: ![]() I downloaded the source code of a program online today, but there are too many blank lines in the file. Replace with regular expression: ^*\n Delete extra blank lines in editplus ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |