Hi Alawi,
> I want to take string between tags in put it
> in variable
preg_match ("|([^]*)|i", $str, $match);
$match[1] will contain the string between
--
Jimmy
Fate shuffles the cards and we play with them
--
PHP General Mailing List (http://www.php.net/)
You could use the following preg statement:
preg_match_all( "/(.*(?=<\/table>))/", $string, $output,
PREG_SET_ORDER );
This would put all matches of some code, text, whatever into
the $output array. however you would start to have problems when you come
across nested tables. You'd need somethi
2 matches
Mail list logo