I have a string, that look like this "<html>"
. Now what I want to do, is get all text between the "<"
and the ">"
, and this should apply to any text, so that if i did "<hello>"
, or "<p>"
that would also work. Then I want to replace this string with a string that contains the string between the tags.
For example
In:
<[STRING]>
Out:
<this is [STRING]>
Where [STRING] is the string between the tags.