c# regex replace

C#

Regex.Replace(
  "input string", @"[a-zA-Z]+", "replace string"
);
Source

Also in C#: