title: Can I use regular expressions with String.Replace in C#?
body: <p>For example I have code below
      string txt="I have strings like West, and West; and west, and Western."</p>
  
  <p>I would like to replace the word west or West with some other word. But I would like not to replace West in Western. </p>
  
  <ol>
  <li>Can I  use regular expression in string.replace? I used 
  <code>inputText.Replace("(\\sWest.\\s)",temp);</code> It dos not work.</li>
  </ol>