php - I what to get the string between two string and replace it by blank in docx? -


i want string between 2 string , replace blank in docx? using code:

$section ="code"; preg_match('/@@'.$section.'(.*?)'.$section.'@@/',$this->_documentxml, $display); $this->_documentxml = str_replace($display[0], "", $this->_documentxml); 

it works fine on windows not on linux, can 1 suggest ?


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -