Looking for help to convert/group an object to an array using a key, the key has a difference with its (-)suffix.

```
const obj = {
    "name-1":"a", 
    "age-1":"20", 
    "email-1":"a@email.com", 
    "name-2":"b", 
    "age-2":"24", 
    "email-2":"b@email.com", 
    "name-3":"c", 
    "age-3":"22", 
    "email-3":"c@email1.com"
};

```

Expected result

```
[
    {
        "name":"a", 
        "age":"20", 
        "email":"a@email.com"
    },
    {
        "name":"b", 
        "age":"24", 
        "email":"b@email.com"
    },
    {
        "name":"c", 
        "age":"22", 
        "email":"c@email.com"
    }
]

```

Maybe due wrong search keyword unable to find a duplicate question.