Hello, my robot goes through specific emails and I would like it to copy data to a variable only those that are under the sentence:
"Correctly set
x;y;z"
I would like the robot to copy only “x;y;z”, the words after semicolons that are under “correctly set”.
I have entered the command: System.Text.RegularExpressions.Regex.Match(Body.ToString, “(?<=Correctly set\s*)[A-Za-z]+”).Value, but it does not work, the message box is empty.
Thank You ![]()
For me its working fine only, try this
Assign:
Input1 = “Correctly set
x;y;z”
Message Box:
System.Text.RegularExpressions.Regex.Match(Input1.ToString.Trim,“(?<=Correctly set\r\n|\r|\n)[A-Za-z\S]+”)

Regards
Gowtham K
1 Like
Unfortunately, when it goes through emails, it is not able to copy the text after “Correctly set” to the variable
@sullivanne what is the exact issue?


