Answer the question
In order to leave comments, you need to log in
How to implement text parsing with tags?
Hi all!
Need your advice. Used the search. Google too. But apparently he did not learn how to find the necessary information.
I need to make something like a text parser (with html tags) from a website.
It is necessary to remove all prohibited tags and everything in between:
<div>
содержание блока
</div>
<codes lang="css">
//код
</codes>
Answer the question
In order to leave comments, you need to log in
php.net/manual/ru/function.strip-tags.php
php.net/manual/ru/function.str-replace.php
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question