I want to turn a string str = "hello, my name is \"michael\", what's your's?"
into "hello, my name is <span class="name">michael</span>
How can I do that in javascript? I know how to do str replace, but how do I get the content that I selected/replaced with it.
Thanks!!!