Adding /g to make sure replace is global