
Tag: SED
regular expression – multiple replacement in file using sed and regex
I have a file like this: one line echo number_format($row1[$z+1],2,”,”,”.”); echo “<b><font color=red>”.number_format($mount_01,2,”,”,”.”).”</font></b>”; echo “<b><font color=red>”.number_format($mount_02,2,”,”,”.”).”</font></b>”; other line <td bgcolor=”red”><b><font color=”white”><?echo number_format($general,2,”,”,”.”);?></font></b></td> another line <td><font size=4><b><?echo number_format($sum_total,2,”,”,”.”);?></font></b></td> with this regex:…