sed: print only first occurence of a pattern match
16787
How to select first occurrence between two patterns including them
72089
How to use variable in sed command
90078
Non greedy (reluctant) regex matching in sed?
84953
Multi-Line Sed Replace
100478
How can I exclude the lines which matche the range patterns in sed?
4497
Delete specific line number(s) from a text file using sed?
77246
Regex exec only returning first match
71954
Regular expression to stop at first match
47913
How to remove trailing whitespaces with sed?
40205
Cleanly swap all occurences of two strings using sed
12961
How can I use variables in the LHS and RHS of a sed substitution?
134655
How to edit next line after pattern using sed?
133393
How can I replace a newline with sed?
46916
Combining two sed commands
104310
How to only substitute lines that match several patterns in sed?
18491
Are there zero-width assertions in sed?
59875
sed whole word search and replace