I have the following text I'm searching:
<add key="Directory" value="" />
And this is my regex:
add key=\x22Directory\x22 value=\x22([^\x22]*)\x22
My desired output is:
<add key="Directory" value="blue" />
But, with what I have, it seems to be selecting the whole tag and producing:
<blue />
But, according to regex101, it shouldn't be. What am I doing wrong?
I have also tried:
value=\x22([^\x22]*)\x22
But, that returns:
<add key="Directory" blue />
Regex101 is telling me the following. It matches and notices the first capturing group but yet is still replacing the entire value=""
