ionik Posted April 5, 2008 Share Posted April 5, 2008 OK, If i have file contents from file_get_contents. How would i first scan the file and see if {php} exists and then find all code within those tags and parse it so i have Hello World No PHP {php} echo 'Hello World PHP'; {/php} Link to comment https://forums.phpfreaks.com/topic/99746-solved-regex-help-finding-php-code/ Share on other sites More sharing options...
ionik Posted April 5, 2008 Author Share Posted April 5, 2008 NM i solved this problem Link to comment https://forums.phpfreaks.com/topic/99746-solved-regex-help-finding-php-code/#findComment-510192 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.