How to check if a string contains any digit or not. Like Suppose i have a string as "only 234 people can go"
1. In this i want to check if there is any numeric value is there or not. And also the format of string is not fixed digits can be at any position in the string.
2. From above if there is any digit in the string then I want to get only the digits from the string. From above example i want Only the "234"