Contact: aviboots(AT)netvision.net.il
39,971 questions
51,913 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 */