最も簡易的と思われる正規表現の使用例です。
using System;
using System.Text.RegularExpressions;
class Program
{
static void Main()
{
bool IsMatch = Regex.IsMatch("123aaa456", "[0-9]+$");
string num1 = Regex.Match("123aaa456", "^[0-9]+").Value; //結果は、123
string num2 = Regex.Replace("123aaa456", "^([0-9]+)a+([0-9]+)$", "$1$2"); //結果は、123456
}
}
using System.Text.RegularExpressions; と書けば、Regexのstaticメソッドが使えます。