Be aware that since none of the solutions anchor their regular expression, if your real data can contain keys/names that are substrings of others, they might modify more lines than intended.
Thanks for you guys reply my question. all methods are work.
I have one more question. I need get value from another file and replace the current file.
I tried