regex

From: Date: Sun, 23 Mar 2003 01:53:33 +0000
Subject: regex
Groups: php.general 
Request: Send a blank email to php-general+get-140723@lists.php.net to get a copy of this message
hi, i need to search $final_footer for a string such as %INCLUDE_FILE[/path/to/file]% (where /path/to/file could be anything) and delete it from the string. it being %INCLUDE_FILE[/path/to/file]% (not just /path/to/file) im new to regexps but im guessing I should use preg_match for this? Can someone give me a code example? thanks much Nate

« previous php.general (#140723) next »