JSFiddle - React, Tailwind, and code Playground
HTML
<table id="table">
<tr >
<th>column 1</th>
<th>Address</th>
<th>column 3</th>
</tr>
<tbody>
<tr>
<td>test data</td>
<td class="address">My compnay, \n New Hil \n
six singama \n India
</td>
<td>some data</td>
</tr>
<tr>
<td>test data</td>
<td class="address">New Branch, \n New Hil \n
six singama \n India
</td>
<td>some data</td>
</tr>
<tr>
<td>test data</td>
<td class="address">Some company, \n New arcade \n
six singama \n India
</td>
<td>some data</td>
</tr>
</tbody>
</table>
JavaScript
$(document).ready(function() {
$("td:contains(\n)").each(function(){
var t = $(this).text();
t = t.replace(/\\n/g,'<br/>');
$(this).html(t);
});
});