in reply to Re^2: file$name.class find - regexp ?
in thread file$name.class find - regexp ?

You still haven't answered JavaFan's original question: will the '?' character be inserted into the string, leaving all the other characters and simply changing some of their offsets in the string, or may the '?' replace one of the other characters in the string, or both?

In the first case, the answer is fairly straightforward, and JavaFan has given it to you. In the other cases, the problem is a bit more complex.

Can you please be more specific about your exact problem?