help for writting a regular expression in javascript
- by Majesty
Hi guys...
I want to write a javascrpit code with .Split() that split a string with structure described below:
The input:
W1...Wn=S1...||...Sm||Sj...Sk|Y1...Yn=D1...Di||Dm...Dn|...
The Output:
W1...Wn=S1...||...Sm||Sj...Sk
Y1...Yn=D1...Di||Dm...Dn
...
I've seen the question that split this string: a=aa|b=b||b|c=cc . but my question is general case of that question.
please help me...
Thanks...