fork(1) download
  1. <?php
  2. $str = "<td class=x11111111111111111 width=140 style='>1111111111111111111111111111<td>11111111111111border-top:none;border-left:none; width:107pt'>";
  3. $str = preg_replace('/<td.+?>/', '<td>', $str);
  4.  
  5. echo $str;
Success #stdin #stdout 0.03s 52480KB
stdin
Standard input is empty
stdout
<td>1111111111111111111111111111<td>