Text between two tags

From: Date: Thu, 10 Nov 2005 14:56:22 +0000
Subject: Text between two tags
Groups: php.general 
Request: Send a blank email to php-general+get-225515@lists.php.net to get a copy of this message
Hello I'm trying to extract some text between two tags: Example I have this string : $text='<td></td> <td align="right" class="yfnc_tabledata3"></td> <td></td> <td align="right" class="yfnc_tabledata2"></td> <td></td> <td align="right" class="yfnc_tabledata1">1234</td> <td></td> <td></td> <td></td> <td align="right" class="yfnc_tabledata5"></td> '; And I want to retrieve the number 1234 between <td align="right" class="yfnc_tabledata1"> and </td> Any idea?? Normmy.

« previous php.general (#225515) next »