fork download
  1. using System;
  2. using System.Text.RegularExpressions;
  3. public class Test
  4. {
  5. public static void Main()
  6. {
  7. var rx = new Regex(@"([^A-Z ])([A-Z])");
  8. Console.WriteLine(rx.Replace("NamePeteParker", "$1 $2", 1));
  9.  
  10. }
  11. }
Success #stdin #stdout 0.11s 24344KB
stdin
Standard input is empty
stdout
Name PeteParker