Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199908

[PHP3] Not good with regex From: Alain Samoun (alain <email protected>)
Date: 08/13/99

I want to replace all the occurences of the TABLE tag (<TABLE ....>) in an
html file. I can't get it. The closest I came to is:
$contents = eregi_replace("<TABLE(.*)>","$replace",$contents );
but this of course matches everything after the first occurrence.
Thanks
Alain

-- 
PHP 3 Mailing List <http://www.php.net/>
To unsubscribe, send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest, e-mail: php3-digest-subscribe <email protected>
To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
To contact the list administrators, e-mail: php-list-admin <email protected>