If that's the case you can split on \n\r\n\r. If not, you have to split on /\n\^M\n\^M/
Your code doesn't work because there's a newline between the two ^M's.
In reply to Re: how to split data by ^M^M
by moritz
in thread how to split data by ^M^M
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |