sed — Extraction

Capture groups, backreference extraction, and parsing structured data with sed.

Page Description

Capture Groups

Extract key=value, IPs from logs, YAML values, URLs, hostnames, date reformatting