a1,a2,a3,a4 ... b1,b2,b3,b4 ... c01,c02,c03,c04 ... ... |
1. ctrl-o open source file. 2. ctrl-h open 'Replace' dialog, in 'Replace' window, * set 'Replace Unit' to 'Line' * fill in 'Replace with Pattern': 3. click 'Replace', finish. Notes: words($match,1,2,",",",") means take word1 and word2 from $match. Use "," as input delimiter and output delimiter. |