I haven\'t used regular expressions at all, so I\'m having difficulty troubleshooting. I want the regex to match only when the contained string is all numbers; but with the
Perhaps my method will help you.
public static bool IsNumber(string s) { return s.All(char.IsDigit); }