I want to replace text in a variable.
The text itself is taken by JSON and there were extra spaces and html characters.
It seems to have gotten rid of them with this string (this is a string variable),
s.replaceAll("\\<.*?>", "").replaceAll(" ", "").trim(); but there is such a block of characters
{youtube} different character set {/ youtube}
Which team can replace the character set starting with "{youtube" and ending with "youtube}"?
(The content between these blocks always changes, so I cannot change it, but I would like to cut it off)