title: Regex for ignoring first and last character
body: <p>Trying to obfuscate an email to this format: </p>
  
  <pre><code>a***@******m
  </code></pre>
  
  <p>Meaning I need a regex to match everything except first and last character, as well as @.
  I can use <code>[^@]</code> for everything but how do I ignore the last and first characters in a String? Anchors seem like the way to go but what is the exact syntax?</p>