title: Parsing file names with javascript
body: <p>I have file names like the following:</p>
  
  <p>SEM_VSE_SKINSHARPS_555001881_181002_1559_37072093.DAT
  SEM_VSE_SECURITY_555001881_181002_1559_37072093.DAT
  SEM_VSE_MEDICALCONDEMERGENCIES_555001881_181002_1559_37072093.DAT
  SEM_REASONS_555001881_181002_1414_37072093.DAT
  SEM_PSE_NPI_SECURITY_555001881_181002_1412_37072093.DAT</p>
  
  <p>and I need to strip the numbers from the end. This will happen daily and and the numbers will change. I HAVE to do it in javascript. The problem is, I know really nothing about javascript. I've looked at both split and slice and I'm not sure either will work. These files come from a government entity which means the file name will probably not be consistent.</p>
  
  <p>expected output:</p>
  
  <p>SEM_VSE_SKINSHARPS</p>
  
  <p>SEM_VSE_SECURITY</p>
  
  <p>SEM_VSE_MEDICALCONDEMERGENCIES</p>
  
  <p>SEM_REASONS</p>
  
  <p>SEM_PSE_NPI_SECURITY</p>
  
  <p>Any help is greatly appreciated. </p>