How do I replace any string in jQuery?

Let's say I have a string "-9o0-9909" and I want to replace it with another string.

Edit
Report