Hi,
i have used matches activity and regex pattern to fetch this sentence “Your password: 7116”. i have successfully fetch this sentence (Your password: 7116).Now i want to split this sentence an get only last 4 digit no i.e 7116 but it is in System.Text.RegularExpressions.Match format
Pl help how i split and fetch only last 4 digit no
Hi @Soni_Reddy1,
Take an assign Activity and create a variable and use this expression
System.Text.RegularExpressions.Match(inputvariable,“(?sim)\d+$”).Value
mark this as a solution if this helps.
Happy Automation!
Regards,
Aditya