Jump to content

regular expression pattern


arunpatal

Recommended Posts

Hello,

 

I have a file to display

$file_content = file_get_contents("test.php");

This file is encoded....

In this file there is a specific tag call change_me

<change_me> 
"<code> <strong>Example Element</strong> </code>"
 </change_me>

I want to use htmlspecialchars_decode function for <change_me> tag only...

<change_me> tag is used two times in file.

 

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/289706-regular-expression-pattern/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.