How to get domain expires date using whois response data on php?
<p>How to get domain expires date using whois response data on php ?</p>

<p>Normally i use whois response for check domain availability.</p>

<p>eg: check <code>DRGDRGDRGRGDRG.COM</code> if whois response data have word <code>No match for</code> it's mean this domain is available.</p>

<pre><code>No match for domain "DRGDRGDRGRGDRG.COM".
</code></pre>

<p>But now i want to check domain expires date using whois response data like this</p>

<pre><code>Domain Name: GOOGLE.COM
Registrar: MARKMONITOR INC.
Sponsoring Registrar IANA ID: 292
Whois Server: whois.markmonitor.com
Referral URL: http://www.markmonitor.com
Name Server: NS1.GOOGLE.COM
Name Server: NS2.GOOGLE.COM
Name Server: NS3.GOOGLE.COM
Name Server: NS4.GOOGLE.COM
Status: clientDeleteProhibited https://icann.org/epp#clientDeleteProhibited 
Status: clientTransferProhibited https://icann.org/epp#clientTransferProhibited 
Status: clientUpdateProhibited https://icann.org/epp#clientUpdateProhibited 
Status: serverDeleteProhibited https://icann.org/epp#serverDeleteProhibited 
Status: serverTransferProhibited https://icann.org/epp#serverTransferProhibited 
Status: serverUpdateProhibited https://icann.org/epp#serverUpdateProhibited 
Updated Date: 20-jul-2011
Creation Date: 15-sep-1997
Expiration Date: 14-sep-2020
</code></pre>

<p>How can i do that ? thank you</p>