I want to write a function, which takes string1 as an input, grabs whatever the text is between two parameters, manipulates the grabbed string and then return the whole thing.
For example, let's say I have this: [Hi] my name [is] John.
I want to have this:
<a href='Hi'>Hi</a> my name <a href='is'>is</a> John.