![]() In other words, we’re saying “find a new line with content”, (not a blank line) then replace it with 2 new lines and a “ ” tag. Here is a useful blog showing these and other techniques.Looking For An Exciting Fantasy Adventure? In addition, Regular Expressions can be used to do more complex things, here is a useful introduction. This would work for a list of 20,000 lines.Ĭtrl + Z will undo the entire Find/Replace operation in one click if you go wrong, so it is easy to experiment. Obviously there is one extra 'xy=', but that's a trivial edit. Place the cursor at the start of line 3 as we don't want to add 'xy=' to lines 1 and 2 then click Replace All: Note the logic is replace CR and LF like for like, but adding xy=. The replace string is identical with xy= added, no space needed between \r\n and xy=. The find string is \r\n, CR and LF respectively. Go to the View menu > Show Symbol > Show All Characters: Open the text file containing the list in Notepad++: Xy= needs to be added to the start of each line.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |