Help Deleting a Backslash! Am i an idiot?
I swear, i have been trying to do this for hours, but can't seem to get it right.
I need to delete a \ (escape character) in a string. It is being put there automatically in a PHP form as an escape character to escape apostrophies, but I desperately need a way (in bash) to delete it! I've tried tr and sed, but my knowledge is limited. Please help!
Here is an example:
Problem: Farmerjoe\'s idiocracy is causing him heartache!
Solution: Farmerjoe's idiocracy is causing him heartache!
Thanks!,
farmerjoe
|