I want to use a regular expression in javascript to replace all occurances of
</tr><tr>
with
<td>  </td>
Also, there can be whitespace between the </tr> tag 开发者_StackOverflow中文版and the <tr> tag
Thanks!!
result = subject.replace(/<\/tr>\s*<tr>/g, "<td>  </td>");
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论