JSFiddle - React, Tailwind, and code Playground

HTML

<table border="1" cellspacing="0" cellpadding="0">
    <tr><td style="width:100px; color:red;">hello</td></tr>
    <tr><td style="width:3px; color:green;">hello</td></tr>
    <tr><td style="width:100px; color:red;">hello</td></tr>
    <tr><td style="width:3px; color:green;">hello</td></tr>    
</table>

JavaScript

$('td').each(function(){
  if ($(this).attr('style').indexOf('3px') !== -1){
    var style = $(this).attr('style');
      $(this).attr('style', style.replace(/width: ?3px;/g, ''));
  }
});