User: Roger -- 2015-12-13 << 1328 1330 >> |
Hits: 2891 |
Type: Regular expression replace |
Search all Regular expression replace examples |
Description: |
How to join lines between two blank lines. |
Input Sample: |
8 Nationality: Chicago 9 My phone number is Granite 1466. 10 I'll check with my numerologist before I call. 11 What is it about you newspaper men? 12 I've been trying to get her phone number for a week. |
Output Sample: |
8 Nationality: Chicago 9 My phone number is Granite 1466. 10 I'll check with my numerologist before I call. 11 What is it about you newspaper men? 12 I've been trying to get her phone number for a week. |
Answer: |
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps. |
1. ctrl-o open text file 2. ctrl-h open 'replace' dialogue * set 'search for pattern' to: |
Screenshot 1: Replace_Window |
Similar Examples: |
How to remove commas and replace with a single space? (62%) How to find and replace multiple line text? (57%) How to insert a blank line after each group of lines with same month? (53%) How to split one line into two lines from middle? (52%) How to split a text file by line and rename each file to the line contents? (52%) How to use "if" in replace pioneer? (52%) How to remove all single line breaks, and replace 2 or more consecutive line breaks with one? (51%) How to make multiple text replace at the same time? (51%) |
Check Demo of Regular expression replace |
Keywords: |
single space newline double blank lines join lines blank line two keep blank join line double blank lines double space two space join blank lines blank space join two text file double lines search and replace not followed by |