using System;
using System.Text.RegularExpressions;
namespace ConsoleApplication_C_Sharp
{
static class Program
{
static void Main()
{
string s = "C# 13 Java 89 Python";
Match match = Regex.Match(s, "\\d+");
if (match.Success)
Console.WriteLine(match.Value);
}
}
}
/*
run:
13
*/