Subcommands (1)
Examples (3)
Print lines from `stdin` [m]atching `regex1` and case [i]nsensitive `regex2`
Say ([-E]) first match group, using a `regex`, ignoring space ([x]) in `regex`
[i]n-place, with backup, [s]ubstitute all occurrence ([g]) of `regex` with a replacement
perl -i'.bak' -p -e 's/regex/replacement/g' path/to/filesmade by @shridhargupta | data from tldr-pages