Contact: aviboots(AT)netvision.net.il
40,764 questions
53,140 answers
573 users
using System; using System.Text.RegularExpressions; class Program { static void Main() { string str = "abc83920xyz"; string result = Regex.Match(str, @"\d+").Value; Console.Write(result); } } /* run: 83920 */