I have some files (about 500 files) with NO extension.
But I managed to view its contents , it has some weird tags and stuff.
I need to extract all IP addreesses from it.. For ex in line 2 there is always an IP address like this ... (71.129.195.163)
Also, there are some html tags like < a href = "http://www.xyz.com" > in a lot of lines.
I need to get this domain name from it , like xyz.com
.
could someone assist this php newbie? i know to get the entire file as a string and all tht.. but since php is powerful, I am looking for a sweet and simple way to achieve this .
Thanks a lot