Java - Ignore delimiter in String
<p>I have a string using the pipe symbol "| as the delimiter. However, the string data also <em>contains</em> the pipe symbol. Is there a way to ignore this?</p>

<p>Example:</p>

<pre><code>name|address|age

John|123 Wood Road|Street, London|25
</code></pre>

<p>Therefore when I do this - </p>

<pre><code>text.split("\\|")
</code></pre>

<p>gives me:</p>

<pre><code>John

123 Wood Road

Street, London

25
</code></pre>

<p>I am expecting this:</p>

<pre><code>John

123 Wood Road|Street, London

25
</code></pre>
