Hello Everyone- I want to check my gmail subject line for a 9 digit number. I am using an If activity after the For Each activity and I need help with the Condition in order to pull that 9 digit number.
Thank you!
Welcome to the uipath community.
Assign that subject to one string variable and use below Regular expression to find 9 digit number.
\d{9}
Hi
Welcome to uipath community
We can use this expression in your IF condition
System.Text.RegularExpressions.Regex.IsMatch(str_input.ToString,”[\d]{9}”)
If true it will get us to THEN part of IF condition
cheers @Jessica_Moseley
Thank you!
1 Like
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.