In-Line Search And Replace With Perl Regular Expressions.
Go ahead and skip right to the examples if you’re in a hurry 😉 perl -p -i -e ‘s/change this/to that/g’ file1 file2 file3… Got Regexes? Regular Expressions (also known as regexes, regexen, and regexps) open up a world of new power tools to you when you need to automate text analysis or manipulations such… Read More »