User: ddumetz -- 2016-03-16 << 1352 1354 >> |
Hits: 2425 |
Type: Advanced search and replace |
Search all Advanced search and replace examples |
Description: |
How to format an English article will following rules? (0) capitalize each word in first line (1) remove symbols like(1), (1,2) (2) remove ending spaces of each line (3) remove non-puctuation ended lines at the end of file (4) remove extra blank lines from two or more consecutive blank lines. |
Input Sample: |
Tamiflu tamiflu At this time the medication has also been approved for flu prevention. (1,2) They recommended that the use of the medication be reserved for those who are in a high risk group where the virus would not typically cause severe symptoms. (3,4) (1) Center for Disease Control and Prevention: 2011-2012 Influenza Antiviral Medications http://www.cdc.gov/flu/professionals/antivirals/summary-clinicians.htm RESOURCES Cancer Research UK: Testicular Statistics and outlook |
Output Sample: |
Tamiflu Tamiflu At this time the medication has also been approved for flu prevention. They recommended that the use of the medication be reserved for those who are in a high risk group where the virus would not typically cause severe symptoms. |
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 'replace with pattern' to: * click 'advanced' tab: * set 'run following for each matched unit' to: 3. click 'replace', done. |
Screenshot 1: Replace_Window |
Screenshot 2: Replace_Advanced_Window |