fork download
  1. using System;
  2. using System.IO;
  3. using System.Text.RegularExpressions;
  4.  
  5. public class Test
  6. {
  7. public static void Main()
  8. {
  9. var fileList = new string[] {"some text", "uploading text", "upload it"};
  10. foreach (var file in fileList)
  11. {
  12. if (!Regex.IsMatch(file, @"(?i)\bupload\b"))
  13. Console.WriteLine(file);
  14. }
  15. }
  16. }
Success #stdin #stdout 0.09s 24528KB
stdin
Standard input is empty
stdout
some text
uploading text