ssed

Enhanced sed with extended regex and additional features for stream editing

brewmacoslinux
Try with needOr install directly
Source

About

Super sed stream editor

Commands

ssed

Examples

Replace all occurrences of a pattern in a file$ ssed -i 's/old_text/new_text/g' filename.txt
Extract lines matching a pattern$ ssed -n '/pattern/p' filename.txt
Delete lines containing a specific string$ ssed -i '/unwanted_text/d' filename.txt