title: How to scrub emails from all CSVs in a directory?
body: <p>I have this regex that works fine enough for my purposes for identifying emails in CSVs within a directory using <code>grep</code> on Mac OS X:</p>
  
  <pre><code>grep --no-filename -E -o "\b[a-zA-Z0-9.-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9.-]+\b" *
  </code></pre>
  
  <p>I've tried to get this working with sed so that I can replace the emails with <code>foo@bar.baz</code>:</p>
  
  <pre><code>sed -E -i '' -- 's/\b[a-zA-Z0-9.-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9.-]+\b/foo@bar.baz/g' *
  </code></pre>
  
  <p>However, I can't seem to get it to work. Admittedly, <code>sed</code> and regex are not my strong points. Any ideas?</p>