String manipulation looking for only numbers

String manipulation
I have requirment
Ex :i have a value of 765-Rd
In this i need only 765

In some cases
Value will be like this 765
Here i also i need to get

Thank in advance

Hello, @Arya_Squares - Use the below regular expression


Input is the variable of type string that contains string value

Below workflow for ref (2.8 KB)

1 Like

we can do with regex as mentioned by Usha

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.