Extract numbers only from Excel column

Hi @Yudhisteer_Chintaram1 ,

An alternative to invoke code would be this simple workflow:

System.Text.RegularExpressions.Regex.Replace(row.item(2).ToString, “[a-zA-Z]”, “”).Trim

More about regex you can find here: https://forum.uipath.com/t/regex-help-tutorial-megapost-making-your-first-regex-post-reusable-regex-patterns-regex-troubleshooting-sample-workflow-and-more/238791

Demo file: ExtractDigits.xaml (6.2 KB)

Best regards,
Marius

2 Likes