+1 vote
by
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
by
cat file | grep 'include/top.html' | awk
at the end of awk you need to cut using regular expression and other options.
+1 vote
by
You can use regular expressions.
...