title: parse a string with VBA on EXCEL
body: <p>I'm trying to analyse a text file imported in an excel tab.</p>
  
  <p>The first column is a text code used to represent the timeline of operations and I would tike to convert this text code into a number of seconds.</p>
  
  <p>Text codes can be formated like this : </p>
  
  <pre><code>5,9h180s            -&gt;  21420s
  10min               -&gt;  600s
  3,4h5min30s         -&gt;  12570s
  ...
  </code></pre>
  
  <p>My idea is to extract the values with a regex a use them later in a function, but I don't know VBA very good.</p>
  
  <p><strong>Is there a function in EXCEL VBA to perform regular expressions on a string and extract data from it ?</strong></p>
  
  <p><strong>Do you have an example of a such function ?</strong></p>