Match The Start Of A Line In A sed Regular Expression
April 2025
Find The First
Use ^ as the first character of a match to match the start of a line. For example:
s@^some thing@other thing@gend of line
Use ^ as the first character of a match to match the start of a line. For example:
s@^some thing@other thing@g