using System; using System.Text.RegularExpressions; public class Test { public static void Main() { var input = "---Three dashes a-b-c-d"; string result = Regex.Replace(input, @"\G-", "$0 "); Console.WriteLine(result); } }