RE: variable contents manipulation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



regex it out with preg_replace

Bastien


From: Ron Piggott <ron.php@xxxxxxxxxxxxxxxxxx>
Reply-To: ron.php@xxxxxxxxxxxxxxxxxx
To: PHP DB <php-db@xxxxxxxxxxxxx>
Subject:  variable contents manipulation
Date: Thu, 17 Nov 2005 16:58:12 -0500

If I have the contents of a file is $file_contents and I want to remove
the text that starts off     <form     up to    </form>      is there a
way to do this?  I have an e-mail to web gateway set up and I would like
to know if I am able to remove the "E-mail this web page" form when the
file is indeed e-mailed.  Ron

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux