extract last two fields from split
<p>I want to extract last two field values from a variable of varying length. For example, consider the three values below:</p>

<pre><code>fe80::e590:1001:7d11:1c7e

ff02::1:ff1f:fb6

fe80::7cbe:e61:f5ab:e62 ff02::1:ff1f:fb6
</code></pre>

<p>These three lines are of variable lengths. I want to extract only the last two field values if i split each line by delimiter :</p>

<p>That is, from the three lines, i want:</p>

<pre><code>7d11, 1c7e

ff1f, fb6

ff1f, fb6
</code></pre>

<p>Can this be done using <code>split()</code>? I am not getting any ideas.</p>
