using System;
using System.Text.RegularExpressions;
public class MyClass
{
public static void Main(string[] args)
{
string str = "java123c++45php090python";
Regex regex = new Regex(@"\d+");
string[] substrings = regex.Split(str);
foreach (string word in substrings) {
Console.WriteLine(word);
}
}
}
/*
run:
java
c++
php
python
*/