Hi @jack.chan and everyone
I want to capture the Number highlighted in the below screenshot. The number is random everytime but always appears after the Statement “Order Created”.
Hi @jack.chan and everyone
I want to capture the Number highlighted in the below screenshot. The number is random everytime but always appears after the Statement “Order Created”.
Maybe something like this: (?<=Order created +)\d+
Hi @Ishan_Shelke
Try this
(?<=Order created)\s\d+
System.Text.RegularExpression.Regex.Match(Yourstring,"(?<=Order created)\s\d+").Tostring.Trim
System.Text.RegularExpression.Regex.Match(Yourstring,"(?<=Order created\s)\d+").Tostring.Trim
Hello @Ishan_Shelke ,
What you can do in this case is either you can get the whole string and apply the regex as @ptrobot and @Gokul_Jayakumar has explained as there is the static keyword as a prefix before that number, else if the selector is available for that number then you can get it directly using the get text activity as the application is looks like SAP so the selector for that should be available.
Thanks,
Sanjit