Fix replacement regex