title: Case Insensitive variable for String replaceAll(,) method Java
body: <p>Can anyone help me with creating a regex for variables in java so that the string variable will be considered to be a case insensitive and replace each and every word like Access, access, etc with WINDOWS of any thing like that?</p>
  
  <p>This is the code:</p>
  
  <pre><code>$html=html.replaceAll(label, "WINDOWS");
  </code></pre>
  
  <p>Notice that label is a string variable. </p>