fork download
  1. using System;
  2. using System.Text.RegularExpressions;
  3.  
  4. public class Test
  5. {
  6. public static void Main()
  7. {
  8. Console.WriteLine("'{0}'", Regex.Replace("ST14BJ", "(?<=.|^)(?=.|$)", "%"));
  9. }
  10. }
Success #stdin #stdout 0.05s 19336KB
stdin
Standard input is empty
stdout
'%S%T%1%4%B%J%'