Hello,
Please can anyone help me with a regex pattern that would get the number/string after the last underscore of this string
spool_0065075582_20JUN2020_12568_2
i.e *****_2 , i am trying to get “2”
Regards
Hello,
Please can anyone help me with a regex pattern that would get the number/string after the last underscore of this string
spool_0065075582_20JUN2020_12568_2
i.e *****_2 , i am trying to get “2”
Regards
Hello Steve,
Thanks a lot … its working but it doesn’t pick 2 or more digits.
i.e if the string ends with *****_29 it only picks 9 and if it ends with *****_boy it only pick “y”
Find attached

You can achieve this by doing String Manipulation also :-
Below thread will give you the output you require :-
Mark as solution and like it ![]()
Happy Automation ![]()
Best Regards
Er Pratik Wavhal ![]()
![]()
If you want regex only then below regex will help you :-

Mark as solution and like it ![]()
Happy Automation ![]()
Best Regards
Er Pratik Wavhal ![]()
![]()