Matching string and displaying item values

My question:
I have below response body and I wanted to match the URL under dbCategorizedUrls, if the URL is matched then I want to display its “id”, “configuredName” and “dbCategorizedUrls” values.

Details:
Below is my response body:
{
“id”: “CUSTOM_01”,
“configuredName”: “Category1”,
“urls”:,
“dbCategorizedUrls”: [
“.example1.com”,
“.example2.com”,
],
“customCategory”: true,
},
{
“id”: “CUSTOM_02”,
“configuredName”: “Category2”,
“urls”:,
“dbCategorizedUrls”: [
“.example3.com”,
“.example4.com”,
],
“CustomCategory”: true,
}

I’ve already tried:
pm.test(“The result is as follow:”, function () {
const responsevar = pm.response.json();
pm.expect(pm.response.text()).to.include(“example1”);
});

What I am looking for:
If pm.expect(pm.response.text()).to.include(“example1”); is true
return `ID = “id”, category Name =“configuredName” and URLs = “dbCategorizedUrls”

Any help on this would be really appreciated.