Helpful Information
 
 
Category: Regex Programming
Words on txt file

Hello everyone,
I want to put every domain, from this list:
http://www.wsmdomains.com/ExpiredDomains/30mar2010.txt
and putting it into variable.
For that I'm using the PHP code "$string = file_get_contents(http://www.wsmdomains.com/ExpiredDomains/30mar2010.txt);"

what is the code that cut every domain and put it into varialbe?

Doesn't look like a job for regular expressions to me. You just need to split your $string up into individual lines (I'm no PHP coder, but I believe its "explode" function will do that for you) and ignore the first 7, which constitute the header. Every other line is a domain name.

OK
Thank you










privacy (GDPR)