Hi,
I need help again guys, just trying to remove html tags and quotes escapes (quotation marks in html) from a string in my view (scala template).
I'm using:
<p>@str.replaceAll("""<(?!\/?a(?=>|\s.*>))\/?.*?>""", "")</p>
And the problem is that text still includes quotes escapes:
"Tengo un montón de balones de reglamento de un equipo de fútbol"
"This sentence is surrounded by " and ", which are a type of quotation marks."
“This sentence is surrounded by “ and ”, which are a type of quotation marks.”
‘This sentence is surrounded by ‘ and ’, which are a type of quotation marks.’
«This sentence is surrounded by « and », which are a type of quotation marks.»
‹This sentence is surrounded by ‹ and ›, which are a type of quotation marks.›
„This sentence is surrounded by „ and “, which are a type of quotation marks.“
‚This sentence is surrounded by ‚ and ‘, which are a type of quotation marks.‘
Any help of how to do it, please?