Suppose I have a line as shown below:
<a>b<c>
I want to delete both <a>, and so <c>, but I cannot use gsub("<.*>","","<a>b<c>"), as this will also delete b.
I asked a similar question before, but when I think it over, I think I should learn in general how to deal with such problems. Thank.
source
share