title: How To Replace All Letters To Underscore
body: <p>I am making a hangman game. I want to change all letters(lower and uppercase) to underscore. Here is my code:</p>
  
  <pre><code>    _answer = "HANGMAN";
      Log.i("Word", "Answer orig: " + _answer);
      _answer = _answer.replaceAll("/[a-zA-Z]+/g", "_");
      Log.i("Word", "Answer underscore: " + _answer);
  </code></pre>
  
  <p>The output is: </p>
  
  <pre><code>Answer orig: HANGMAN
  Answer underscore: HANGMAN
  </code></pre>
  
  <p>My code did not replace the letters to underscore.</p>