Extract substring int

How to extract substring

“RL Credit Prepayment 45282255 has been saved”

I need only "45282255 " as output from above statement

HI @Sneha_1992

Checkout this Expression

System.Text.RegularExpressions.Regex.Match(InputString,"\d+").Tostring

Regards
Sudharsan

2 Likes

Hi @Sneha_1992

Input= "RL Credit Prepayment 45282255 has been saved"
Output= System.Text.RegularExpressions.Regex.Match(Input,"\d+").Value

Refer this image for below understanding:

Hope it helps!!

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