String Operations With Dynamic values

I have an alphanumeric value, I need to extract the integers which are present post alphabets.

Ex- Input: 123MKI456

Output should be 456

The input will be changing dynamically. How can we achieve this

welcome to uipath community
hope this expression would hope help you
if str_input = “123MKI456”
str_output = System.Text.RegularExpressions.Regex.Match(str_input,"(?<=[A-Za-z])[0-9]+"),ToString

Where the output str_output = “456”

Cheers @ajaysimha6


Welcome to the uipath community.

Try this:

 inputStr = "123MKI456"

 requiredStr = System.Text.RegularExpressions.Regex.Match(inputStr,"(?<=[A-Za-z])[0-9]+").Value