Extract IP address from text file.
Posted: 28 Jul 2009 23:08
Hi Script Experts,
I have on text file, it generated from wget.exe. ( It is my isp wan ip)
I need one script to extract only the ip address. ( just like 92.99.191.63) only.
Here some time ip will show 256.99.192.123
ip.txt
--------
<html><head><title>Current IP Check</title></head><body>Current IP Address: 92.99.191.63</body></html>
Thanks in advance.
Regards,
Baiju.
I have on text file, it generated from wget.exe. ( It is my isp wan ip)
I need one script to extract only the ip address. ( just like 92.99.191.63) only.
Here some time ip will show 256.99.192.123
ip.txt
--------
<html><head><title>Current IP Check</title></head><body>Current IP Address: 92.99.191.63</body></html>
Thanks in advance.
Regards,
Baiju.