Regex: System.Text.RegularExpressions.Regex.Match(text1, “(?<=Apples,)\n.*”).Value
is working in regex101 but not in uipath
Text1:
Apples,
xxxxx
I want to extract xxxx
due to the windows specific line breaks we can do and defensive handle:
(?<=Apples,)\r?\n.*
Another solution : @bestRobot
System.Text.RegularExpressions.Regex.Match(YourString,"(?<=Apples,\n)\S+").Tostring
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.