title: Convert String to e-mail address
body: <p>I am writing a script that will rename so exported PST files to match the format needed for import to a new system.</p>
  
  <p>I am trying to use regular expression in VBScript to do this along with Replace.</p>
  
  <p>An example string:   </p>
  
  <pre><code>JoeBloggs_Export_001.pst
  </code></pre>
  
  <p>Required End Result:  </p>
  
  <pre><code>Joe.Bloggs@emaildomain.com._001.pst
  </code></pre>
  
  <p>I have obviously got the replace of <em>Export</em> with @emaildomain.com. working with Replace.</p>
  
  <p>I am struggling to get the insert of . between the First-name and Last-name, I figured using a regular expression to do this would be the best approach. I am struggling with getting this to work. Obviously the length of the first-name varies.</p>
  
  <p>I have now tried various regular expressions, so rather than sharing any of these I am hoping getting a fresh set of eyes will help to highlight where I have been going wrong. </p>
  
  <p>Many thanks in advance.</p>
  
  <p>Mark</p>