Answers for "c# replace regex string"

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

Code answers related to "c# replace regex string"

C# Answers by Framework

Browse Popular Code Answers by Language