User: Boris Reyngold -- 2012-08-21 << 994 996 >> |
Hits: 4002 |
Type: Regular expression replace |
Search all Regular expression replace examples |
Description: |
merge lines together based by deleting from '\' character to end of line, when nothing else follows on the line and moving the next from below it to same line. |
Input Sample: |
1 <?xml version="1.0" encoding="ISO-8859-1"?>\ <?xml-stylesheet href="/mobiledoc/jsp/catalog/xml/hl7/HL7LabResult.xsl" type="text/xsl"?> |
Output Sample: |
1 <?xml version="1.0" encoding="ISO-8859-1"?><?xml-stylesheet href="/mobiledoc/jsp/catalog/xml/hl7/HL7LabResult.xsl" type="text/xsl"?> |
Answer: |
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps. |
1. open "Tools->Batch Runner" menu 2. drag multiple text files from windows file browser to "Batch Runner" window 3. click "Fast Replace" button 4. click "Add" to add new rule * set "search" to: * leave "replace" to blank or a single space * click "ok" 5. make sure "reg exp" and "cross line" options are checked, and click "start", done. |
Screenshot 1: Fast_Replace_Window |