I have a requirement to find and extract a number contained within a string.
For example, from these strings:
string test = \"1 test\" string test1 =
You will have to use Regex as \d+
\d+
\d matches digits in the given string.
\d