Hello everyone,
I am facing issue with my regex. I have a invalid json file and I need to match one exact part.
My regex works on regex101 and also in the UiPath editor, but in runtime I am getting no results.
Can you help me out? Is it a regex flag problem?
My regex: (?<=EXCEPTION_REASON",\s{5}“value”\s:\s")[\s\S]*(?="\s{3}}\s]\s})
Test string:
“key” : “EXCEPTION_REASON”,
“value” : “First line of text
Second line of text
Third line of text”
} ]
}

Thanks, Eduard.