fork download
  1. using System;
  2. using System.Text.RegularExpressions;
  3.  
  4. public class Test
  5. {
  6. public static void Main()
  7. {
  8. var s = Regex.Replace(
  9. "'DRCI',1,'P','CALLIN_DATE,DRIV_EMPL_CODE'"
  10. , "(\\d+)"
  11. , "'$1'");
  12. Console.WriteLine(s);
  13. }
  14. }
Success #stdin #stdout 0.07s 34088KB
stdin
Standard input is empty
stdout
'DRCI','1','P','CALLIN_DATE,DRIV_EMPL_CODE'