using System.Collections.Generic;
using System.Text.RegularExpressions;
public static void Main()
string comment = "1,5,15,test";
List<int> areas = new List<int>();
var test = Regex.Split(comment, @"\D+").ToList();
areas = test.Where(s=>!String.IsNullOrEmpty(s)).Select(Int32.Parse).ToList();
foreach (string s in test){
Console.WriteLine("s:" + s);