One Minute One-liners for the curious: https://www.youtube.com/@1minute1liners
In this YouTube short from One Minute One-liners for the curious(@1minute1liner), I explain how to extract a list of words from expressions using a one-liner sed command written as a bash function.
Below are four bash one-liner functions using sed that build up to the final version.