String query for output

Hi everyone I am looking for the output of the following highlighted lines I am trying with this string but unable to get it. Can you guide me or write me a string for my issue?
System.Text.RegularExpressions.Regex.Match(mailbody.ToString,"(?<=result:\s)\w{7}").ToString.Trim

System.Text.RegularExpressions.Regex.Match(mailbody.ToString,"(?<=Reason:\s).*").ToString.Trim

@mtalha.shafiq
in general we would process the JSON with JSON related activites / API statements for the value retrieval.

In the UiPath.WebApi.Activites some usefull activities will be available for this.

1 Like