First N-th matches of PAT in a file.
1 Replace the FIRST match of PAT1 in a file with PAT2. 2000.09.30
2 Replace the FIRST N matches of PAT in a file. 2008.10.03
3 Replace the FIRST N matches of PAT in a file. 2010.07.07
ALL but the first N-th matches of PAT in a file.
1 Replace/Remove all but the first occurrence of PAT in a file. 2010.06.24
2 Replace all but the first N matches of PAT in a file. 2008.10.17
Last N-th matches of PAT in a file.
1 Replace the LAST match of PAT in a file. 2008.09.23
2 Replace the LAST N matches of PAT in a file. 2008.09.27
3 Replace the LAST N matches of PAT in a file. 2010.07.06
ALL but the last N-th matches of PAT in a file.
1 Replace all but the last N matches of PAT in a file. 2010.07.05
2 Replace all but the last N matches of PAT in a file. 2008.10.22
Every N-th match of PAT in a file.
1 Replace every N-th occurrence of PAT in a file. 2010.03.02
N1-th, N2-th, ... matches
1 Extract the N1-th, N2-th, ... matches of PAT in a file. 2010.12.30
Main Menu