DataTables - search
HTML
<link rel="stylesheet" href="https://cdn.datatables.net/r/dt/dt-1.10.9/datatables.min.css">
<script src="https://cdn.datatables.net/r/dt/dt-1.10.9/datatables.min.js"></script>
<table id="example" class="display" cellspacing="0" width="100%">
<thead>
<tr>
<th>Name</th>
<th>Position</th>
</tr>
</thead>
<tbody>
<tr>
<td>Tiger Nixon</td>
<td>content (another content)</td>
</tr>
</tbody>
</table>
JavaScript
function escapeRegExp(string){
return string.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
}
$(document).ready(function (){
var table = $('#example').DataTable();
var searchString = "content (another content)";
table.column(1).search(escapeRegExp(searchString), true, false, true).draw();
});