JSFiddle - React, Tailwind, and code Playground

by bohdantheone

HTML

<html>
 <head>
  <title>Тег DIV</title>
  
 </head>
 <body>
<table border=0>
<tr>
<td>
  <div class="block1">"Анжи" обыграл "ЦСКА"</div>
  
</td>
</tr>
</table>
 </body>
</html>

JavaScript

var index = $(".block1").html();
$('.block1').each(function(){
  if($(".block1").html().indexOf('"')=0){
    alert($(".block1").html().indexOf('"'));  
$(this).html($(this).html().split('"').join('<'));
  });}