using System.Text.RegularExpressions;
public static void Main()
string s = "Mobile2: 040534343";
Regex rgx = new Regex(@"(\+?\d*)", RegexOptions.IgnoreCase);
MatchCollection matches = rgx.Matches(s);
foreach (var match in matches) {
Console.WriteLine("Match number " + t + ": '" + match + "'" );