I have following string say:
var str = "This is 'first text' and now this is 'second', and many more contents goes here.";
Now I want to replace text between first two quotes first text with some text and next other two quotes with some text like second with some more text
The final string should be something like:
This is 'some text' and now this is 'some more text', and many more contents goes here.
Actually I have to make these two replaces on text change event of two textbox. Up till now, I can replace with specific text only, and not with above conditions.