EREG_REPLACE

From: Date: Mon, 05 Nov 2001 12:49:03 +0000
Subject: EREG_REPLACE
Groups: php.general 
Request: Send a blank email to php-general+get-73474@lists.php.net to get a copy of this message
Hello, In a script I want all that is between <begin> and <end> to be replaced. So if an input starts with <begin> and ends with <end> all that is BETWEEN must be replaced. I know how to replace one or more words: $test = ereg_replace("word","",$test); Can somebody help me? ________________________________________ Sjoerd van Oosten Digitaal vormgever svoosten@esites.nl Datamex E-sites B.V. Minervum 7368 Telefoon: (076) 5 730 730 4817 ZH BREDA Telefax: (076) 5 877 757 _______________________________________

« previous php.general (#73474) next »