Jump to content

Extract Data


ainoy31

Recommended Posts

Hello-

I have the following info i need to extract out:

 

Del Date/Time:</td><td class="text" width='90' bgcolor='#f5f5dc'><b>01/31/08<BR>11:20 AM</b></td>

 

I have tried the following to just get the date out.

//$pat = '~Del Date/Time:\</td><td class="text" width=\'90\' bgcolor=\'#f5f5dc\'\></b>.*?(\d{2}/\d{2}/\d{2})<BR\>~s';
preg_match_all($pat, $line, $matches);
print_r($matches);

 

My matches array is empty.  Much appreciation.  AM

Link to comment
https://forums.phpfreaks.com/topic/88964-extract-data/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.