Use re to only substitute on word breaks