Regex to split string into groups : <p>How can I match this string in c# using regex so it returns 4 groups per line?</p>

<p>1 or more digits|one or more letters|one or more letters|one ore more X-Digit(s)\n</p>

<p>Example:</p>

<pre><code>123|ABC|ABC|X-1;X-12;X-13
123|ABC|ABC|X-1
</code></pre>

<p>I've tried this
\d+\|(A-Z)\|(A-Z)\|(X-)d+</p>
