updating regex + deleting print