Split the string an get the text : <p>I am having a text as below </p>

<pre><code>*~*****|****|**|*|***|***|****|**|null|null|**|***|***|null|71713470|STMS#****** 
</code></pre>

<p>using java i need to get the number 71713470 and STMS values from that string. I have tried all the string methods but invain. Could anyone help on this</p>
