title: Regex for specific word
body: <p>I was trying to write a regular expression for "[beginning word][specific word][ending word]" and making it case insensitive. But for some reason it doesn't seem to work. </p>
  
  <p>I'm doing it in java, hence the extra "\".</p>
  
  <p>For example, if I wanted to match the word "crazy" my regex would be: </p>
  
  <pre><code>/\\bcrazy\\b/i
  </code></pre>
  
  <p>My java code in which I call the regular expression where it doesn't match anything is:</p>
  
  <pre><code>textToMakeHarder = textToMakeHarder.replaceAll("/\\bcrazy\\b/i", "super crazy");
  </code></pre>