ainoy31 Posted February 1, 2008 Share Posted February 1, 2008 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 Quote Link to comment Share on other sites More sharing options...
laffin Posted February 1, 2008 Share Posted February 1, 2008 maybe sumfin like $pat='~Del Date/Time:.*<b>(\d{2}/\d{2}\d{2}~ims' Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.