我需要查找并提取字符串中包含的数字.
例如,从这些字符串:
string test = "1 test" string test1 = " 1 test" string test2 = "test 99"
我怎样才能做到这一点?
.net c# regex string
.net ×1
c# ×1
regex ×1
string ×1