Help for writting a regular expression in JavaScript
<p>I want to write a javascrpit code with <strong>.Split()</strong> that split a string with structure described below:</p>

<p>The input:</p>

<p>W1...Wn=>S1...||...Sm||Sj...Sk|Y1...Yn=>D1...Di||Dm...Dn|...</p>

<p>The Output:</p>

<p>W1...Wn=>S1...||...Sm||Sj...Sk</p>

<p>Y1...Yn=>D1...Di||Dm...Dn</p>

<p>...</p>

<p><a href="http://stackoverflow.com/questions/2757049/use-split-for-splitting-a-string">I've seen the question that split this string</a>: a=>aa|b=>b||b|c=>cc . but my question is general case of that question.</p>

<p>please help me...</p>

<p>Thanks...</p>
