title: Java Regular Expression to mask sensitive data in logs
body: <pre><code>"PUT /v1/users/me/change_password.json?api_key=pDY0VK7YFv9btw6pasXZ&amp;current_password=Qwerty123&amp;password=Qwerty1234&amp;password_confirmation=Qwerty1234 HTTP/1.1" 200 -
  </code></pre>
  
  <p>I need regular expression which replace <code>password</code> ,<code>current_password</code> and <code>password_confirmation</code> values with text Filtered.</p>
  
  <p>Required Output</p>
  
  <pre><code>"PUT /v1/users/me/change_password.json?api_key=pDY0VK7YFv9btw6pasXZ&amp;current_password=[FILTERED]&amp;password=[FILTERED]&amp;password_confirmation=[FILTERED] HTTP/1.1" 200 -
  </code></pre>