intuitive changes + encountered a problem

how do I replace a tilde (~) in a string?