Suppose we have the following string object:

```
var str = "Real\bWorl\bd";

```

considering \b as BackSpace character, I want a mechanism to get

```
ReaWord

```

as result, this means BackSpace character some how compiled within the string.
aside from BackSpace, this special character might be Delete.
Thanks in advance....