Link to home
Start Free TrialLog in
Avatar of freshgrill
freshgrill

asked on

Perl command line search replace word with apostrophe in it

I trying to search and replace using Perl on the command line, not sure how to escape the apostrophe in the command.

ie. Replace Latest's -> Latest
perl -pi -e 's/Latest''s/Latest/g' *.pl <- doesn't work


ASKER CERTIFIED SOLUTION
Avatar of Levant
Levant
Flag of Israel image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial