How can I split part of a string that is inconsistent?
<p>I have the following string:</p>

<p><code>01-21-27-0000-00-048</code> and it is easy to split it apart because each section is separated by a <code>-</code>, but sometimes this string is represented as <code>01-21-27-0000-00048</code>, so splitting it is not as easy because the last 2 parts are combined.  How can I handle this?  Also, what about the case where it might be something like <code>01-21-27-0000-00.048</code></p>

<p>In case anyone is curious, this is a parcel number and it varies from county to county and a county can have 1 format or they can have 100 formats.</p>
