If you tacked the following filter onto the one you already have, then you’d get the output shown below:
map(select(.Address | test("^[0-9]")))
Output:
[
{
"Address": "1 Bridge Rd"
}
]
For robustness, you might like to consider adding ?
after the test:
map(select(.Address | test("^[0-9]")?))
Or, you could combine the two calls to map
in various ways. You might like to consider:
.[].payload.address | select(test("^[0-9]")?) | {Address: .}