I have this string: \"123-456-7\"
I need to get this string: \"1234567\"
How I can replace occurrences of \"-\" with an empty string?
To be clear, you want to replace each hyphen (-) with blank/nothing. If you replaced it with backspace, it would erase the character before it!
That would lead to: 123-456-7 ==> 12457
Sean Bright has the right answer.