1. press ctrl-o open source file 2. press ctrl-h open 'Replace' dialog in 'Replace' page, * set 'Replace with pattern': 3. click 'Replace', done. Note: sort_by_char($match,1,-1,'uniq') will sort the text by key from first char to last char in each line, 'uniq' means remove duplicate.
|