in reply to Re^3: regex is not producing desired output
in thread regex is not producing desired output
First, make a copy of your file and put it on your desktop. In this example, I called it apache.txt. Second, open a terminal. Third, from the cmdline, enter:
It'll modify the original file and create a new apache.txt. It'll save the original as apache.txt.orig.perl -pi.orig -e 's/\bis\b/are/gi' /user/Desktop/apache.txt
|
|---|