title: How can I find the string and split it in node.js?
body: <p>I have a value like this <code>::ffff:127.0.0.1</code> but i need only <code>127.0.0.1</code>. Is there a way to search the string in node.js?</p>
  
  <p>Basically I want to match the ip that why I need to split the above        string</p>
  
  <blockquote>
    <p>After splitting I need to check in database so its compulsory for me to split the above string. The value wold be always like <code>::ffff:137.3.3.1</code>,  so I need a <code>stringSplitter</code> function which will split all of my given inputs.</p>
  </blockquote>