The data is a simple sample.No it isn't, it has embedded newlines.
jZed provided no solution to the task at handThat's because I was waiting for the OP to clarify what he/she really wanted. Now that the OP has done that, I've given the example, please see my code.
In reply to Re^5: Textfile to csv with a small twist
by jZed
in thread Textfile to csv with a small twist
by Bentov
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |