User: Dilip -- 2017-08-18 << 1399 1401 >> |
Hits: 2638 |
Type: Advanced search and replace |
Search all Advanced search and replace examples |
Description: |
Sort according to descending order the tags in all lines by the numbers found in them |
Input Sample: |
<num>1</num><num>90</num><num>70</num><num>69</num> <num>5</num><num>92</num><num>70</num><num>69</num> |
Output Sample: |
<num>92</num><num>90</num><num>70</num><num>70</num> <num>69</num><num>33</num><num>1</num><num>1</num> |
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: 3. click 'advanced' tab, set 'run following for each matched unit' to: 4. click 'replace', done. |
Screenshot 1: Replace_Window |
Screenshot 2: Replace_Advanced_Window |