fork(1) download
  1. using System;
  2. using System.Text.RegularExpressions;
  3.  
  4. public class Test
  5. {
  6. public static void Main()
  7. {
  8. string pattern = @"^.*[\d,]\s*(.+)$";
  9. string input = @"Flat 1, Asker Horse Sports
  10. 9 Walkers Barn";
  11. RegexOptions options = RegexOptions.Multiline;
  12.  
  13. foreach (Match m in Regex.Matches(input, pattern, options))
  14. {
  15. Console.WriteLine(m.Groups[1]);
  16. }
  17. }
  18. }
Success #stdin #stdout 0.06s 21064KB
stdin
Standard input is empty
stdout
Asker Horse Sports
Walkers Barn