title: How can I get the IP from arp command in shell
body: <p>I've build this command:</p>
  
  <pre><code>arp -a | grep &lt;mac here&gt; | grep -P '\((.*?)\)' -o
  </code></pre>
  
  <p>This should return an IP address for a specific mac. The problem is that the IP get's returned but with <code>()</code> around them. I need them without the <code>()</code>. Any idea how I can fix this?</p>
  
  <p>Currently: <code>(192.168.187.136)</code>
  Should be <code>192.168.187.136</code></p>