Hi,
I have string
“Dated 12345 Name1 (Name2) Name3 (Name4)”.
My goal is to get “12345”.
I used the regex:
“(?<=” + labelBefore + “)(.*?)(?=” + labelAfter + “)”
As labelBefore I used: “Dated "
As labelAfter I used: " Name1 (Name2) Name3 (Name4)”.
RegexOption: IgnoreCase, Compiled
Result: No match found.
When I try it on regex101.com I runs perfectly, but in UiPath I don’t get a match.
I guess the “(” brackets causing the error. How do I need to change the regex?
Please help
Daniel