+1 vote
Hi all.
Just say php pesnik I have no.
I have a question for people who know a lot about.
How can I access for example .the html file find this line
<$include file="include/top.html">

and take from it only include/top.html. Well, like Smarty.
Thank you!

2 Answers

0 votes
cat file | grep 'include/top.html' | awk
at the end of awk you need to cut using regular expression and other options.
+1 vote
You can use regular expressions.