replace last two octets of an ip with * PHP
<p>I want to be able to replace the numbers between the last two octets with *'s</p>

<p><code>127.0.0.1</code> becomes <code>127.0.*.*</code>
<code>88.88.88.88</code> becomes <code>88.88.**.**</code> </p>

<p>How can I do this?</p>
