Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

1081.Text sort -- How to sort the text with digit and non-digit string separated?

User: gaogao -- 2013-05-23          << 1080  1082 >>
Hits: 1421
Type: Text sort   
Search all Text sort examples
Description:
Per row and the first word sort
Input Sample:
a.txt
1 ad2
1a ad2
234 123
234a ab
123@a.abc 12
123 abc
12 34
Output Sample:
b.txt
1 ad2
12 34
123 abc
234 123
1a ad2
123@a.abc 12
234a ab
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 'replace', done.

Screenshot 1:  Replace_Window


Similar Examples:
How to sort the text file by the date at the beginning of each line? (56%)
How to extract text between specified start and end strings? (52%)
How to search same text in differnt files and replace with different strings? (52%)
How to replace the same words in text files with different strings? (51%)
How to insert a text file into the beginning of multiple text files? (50%)
How to convert asp code to corresponding hex bytes separated by comma? (50%)
How to sort a text file by the length of text in each line? (50%)
How to sort the lines in a text files by the order of line length? (50%)

Check Demo of Text sort
Keywords:
the first word sort  non  separate  else  digit  dig  first word  text sort  string  sort  replace first string  sort first  first string  first row  word sort and replace  text sort word sort  pattern first word  sort word