<?php $str = '{"displayName":"Production","costs":[{"amount":"aa"}]}'; echo preg_replace('/"displayName":".*"/e', "xx", $str);
You have javascript disabled. You will not be able to edit any code.