How do I use regular expressions to delete in batches?

there is a data dictionary. Now that some items are to be left blank, can you delete them in batches with regular expressions? the data format is about this

.
arr = [
    {
        name:"add",
        age: 12,
        address:[
            {},
            {},
            {}
        ]
    },
    {
        name:"add",
        age: 12,
        address:[
            {},
            {},
            {}
        ]
    },
    {
        name:"add",
        age: 12,
        address:[
            {},
            {},
            {}
        ]
    },
    {
        name:"add",
        age: 12,
        address:[
            {},
            {},
            {}
        ]
    },
]

is there any way to delete content in address in batch?


the reason for asking a question is that the multi-tier structure of the console is always folded and cannot be copied. I just searched for the answer and found a coquettish operation. You can use copy () to copy the object you want on the console, which solves the problem directly.

Menu