title: Regular expression using VBScript to find variable length string and replace with same length string of spaces
body: <p>Hoping for help on a regex replacement code in VBScript that matches the length of the string found.  There are quite a few variations found on the web, but my skill level is not extensive so making sense of them has been a long and frustrating.  Perhaps I'm using the wrong tool, not sure anymore.</p>
  
  <p>The challenge is adjusting a field in a fixed length file which is not formatted correctly for the recipient.  There is a field that contains text of variable length, a dash, and more text.  The variable length string and the dash need to each be replaced with a space.  This will maintain the positioning in the fixed-width file.</p>
  
  <p>The regex I put together is:
  strOriginal = "\b([A-Z0-9]{2,4}[-])"</p>
  
  <p>This is working well for the data file matches.  Can an expert guide me in the correct replacement?</p>
  
  <p>Thank you,
  Drew</p>