I have a value like this ::ffff:127.0.0.1
but i need only 127.0.0.1
. Is there a way to search the string in node.js?
Basically I want to match the ip that why I need to split the above string
After splitting I need to check in database so its compulsory for me to split the above string. The value wold be always like
::ffff:137.3.3.1
, so I need astringSplitter
function which will split all of my given inputs.