I have text which contains code.
It is possible to recognize because code exist into an html tag like this
<code> print(i)
</code>
I know it is possible to remove html tags in R?
However how is it possible to remove the content into a specific tag like my case?
The code I mention exists in text. A better example:
You can find an incredible solution if you use <code> print(i) </code> and you will solve your problem.
and I want to remove the specific tag and what it is inside the tag and have only:
You can find an incredible solution if you use and you will solve your problem
.+?
", "", text)` – Dave2e Mar 05 '18 at 21:40tag" to "how do I remove table tags" to "how do I handle css descriptors" and before you know it, Zalgo has come.
– Hong Ooi Mar 06 '18 at 10:05