How to get the value from a string that enclosed between ()

Hi,

I want to extract a value from a string. The value enclosed between () is dynamic
E.g: Inbox(5) - I want to get 5 from the string.

Thanks In advance
Kiran

1 Like

Hi
Welcome to uipath community
We can use expression like this in a assign activity

str_output = System.Text.RegularExpressions.Regex.Match(str_input,”\d+”).ToString

Where str_input is your input string
Cheers @Kiranaarpa

1 Like