using System;
using System.Text.RegularExpressions;
public class Test
{
public static void Main()
{
var rx = new Regex(@"([^A-Z ])([A-Z])");
Console.WriteLine(rx.Replace("NamePeteParker", "$1 $2", 1));
}
}
dXNpbmcgU3lzdGVtOwp1c2luZyBTeXN0ZW0uVGV4dC5SZWd1bGFyRXhwcmVzc2lvbnM7CnB1YmxpYyBjbGFzcyBUZXN0CnsKCXB1YmxpYyBzdGF0aWMgdm9pZCBNYWluKCkKCXsKCQl2YXIgcnggPSBuZXcgUmVnZXgoQCIoW15BLVogXSkoW0EtWl0pIik7CgkJQ29uc29sZS5Xcml0ZUxpbmUocnguUmVwbGFjZSgiTmFtZVBldGVQYXJrZXIiLCAiJDEgJDIiLCAxKSk7CgkJCgl9Cn0=