Answers for "c# regex replace"

C#
3

c# regex replace

Regex.Replace(
  "input string", @"[a-zA-Z]+", "replace string"
);
Posted by: Guest on May-21-2020
-2

c# replace regex string

string pattern = @"\bwest\b";
string modifiedString = Regex.Replace(input, pattern, strReplacement, RegexOptions.IgnoreCase);
Posted by: Guest on January-28-2021

C# Answers by Framework

Browse Popular Code Answers by Language