Examples
The following snippets demonstrate common usage patterns.
# Basic extraction from a string
echo "Server at 192.168.1.1 connected" | extract
# Process a log file and remove duplicates
extract /var/log/firewall.log | sort | uniq
# Interactive mode with your editor
extract
# type or paste text, then save and exit
# Combine with grep to filter for a specific network
extract syslog.txt | grep "192.168.1."