I am not great with Regex and I am trying to replace two characters in a set string.
I need this:
This is some variable text
<foo> some stuff <Hello World> other stuff <bar>
To be replaced with this:
This is some variable text
<foo> some stuff (Hello World) other stuff <bar>
Edit: In this example I want to find all <
and >
, to replace them with (
and )
respectively between <foo>
and <bar>
in the larger string.