fork(2) download
  1. using System;
  2. using System.Text.RegularExpressions;
  3.  
  4. class Demo {
  5. public static void Main()
  6. {
  7. string str = @"LD1091158 LD1091158 LD1091158 ScreenLysP - :10/11/2013 3:30:46 PM 1 91 / ABDLys2HB+ LD1091159 LD1091159 LD1091159 ScreenLysP - ABDLys2HA+ ";
  8. string replaced = Regex.Replace(str, @"\d{1,2}/\d{1,2}/\d{4} \d{1,2}:\d\d:\d\d [AP]M", "");
  9. Console.WriteLine(replaced);
  10. }
  11. }
Success #stdin #stdout 0.06s 34016KB
stdin
Standard input is empty
stdout
LD1091158 LD1091158 LD1091158 ScreenLysP - :  1 91 / ABDLys2HB+ LD1091159 LD1091159 LD1091159 ScreenLysP - ABDLys2HA+