I was writing a regex expression to replace the string pattern with its own sub-string. And I don't really know if thats possible (I have only worked with regex once before).
Example:
Convert this:
ObjectId(shkijfn8bshhby302knw);
to
"shkijfn8bshhby302knw"
If its possible doing this, can someone please guide me to a guide or tutorial.
EDIT: Modified the question. Actually I wanted to add quotes to string taken from initial string.