I am trying a simple find and replace function in VI Editor to change a profile path but the /
is getting in my way and I need a simple and clever solution.
I tried using:
%s/profile: "/fldr0/local/fldr/fldr1/profile/production/production.auto.profile"/profile: "/fldr0/local/fldr/fldr1/profile/development/development.auto.profile"/g
And got E488: Trailing characters
.
I know it has to do with the slashes but not sure what a good workaround would be since I thought the ""
would take care of it but they didn't - any help appreciated! Read all the other threads and couldn't come up with a solution probably due to lack of brain power on my part