11/14/2023 0 Comments Editpad lite replace carriage return![]() And all the formatting for any one paragraph is carried in the paragraph marker. The text is one database table and all the paragraph formatting (like margins or space before or space after, etc) is a second database table related to the text table by line number and offset into the line. Microsoft Word (all versions) is really a relational database. But even with a 13 meg document, if the replace results are not what you wanted, undo it with Ctrl-Z. There may be some variations here, such as the blank lines with a paragraph marker in the left margin have a space first, then you would use ^p ^p. Or if every line in the document ends with a paragraph marker AND each paragraph has two paragraph markers (one at the end of the line and one at the left margin), and you want to put the paragraphs back together, then I replace the double paragraph markers (¶¶) with something that is not in the document like &, then go back and replace all single line paragraph markers with a space, then go back and replace the & with two paragraph markers again (to get the paragraphs back as they should be.) I often use the replace all to eliminate the blank lines by first doing a replace all double paragraph markers ¶ ¶ ( ‘find what:’ ^p^p) with just one ¶ (replace with:’ ^p). If nothing is found, then try using the ^013 (for carrage return) or ^010 for line feed in the ‘find what’ line. The easiest way to test this is use the Find Next button of the Replace panel looking for a ¶ using the ^p. That is only just a carriage return or a line feed. ![]() If it is a text file you imported, what appears at the end of each line – ¶ – may not be a paragraph maker (a two character code of a carriage return and line feed ) but just one of these. I do this all the time – replace a paragraph marker ¶ with a space or even just remove the marker. I hope that you are having fun, I am……………….Jean. In Word, it is the ¶ up on the bar and if you hover on it, it will read “Show/Hide ¶”. I hope that you have toggled the ” show non-printing characters ” to see what is what. ![]() If these are “maunal line-break” they are different, they are ^| I am looking for the Alt code for them, but mechanically, they are Shift 6 + pipe, ^|, you can try replacing them with a space and all will be happy, I think that Alt 28 could be it. At this moment, there are no more double ¶¶ and one can get rid of all the left over single ¶ and replace them with a space. The second procedure is to rid the text of the single ¶ by a space, if this is done first, the F & R would do this all over, disregarding that all ¶ ¶ should not be taken singly. So, there are cases where there are two in a row thus the necessity to F & R two ¶ ¶ and replace them with another two characters that will be later replaced in the text to actually keep the formatting of the text. Keep in mind that all true paragraphs are followed by an undesirable ¶ and the one to keep. You are right, read my note and you will see that the procedure that I mentioned is just this, replace all ¶ with a space. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |