How can I create a javascript function to pull data from JSON based on words? I am using an Task Manager API and want to populate fields based on the title of the task. For Example:
{
"data": {
"boards": [
{
"owner": {
"id": 555555555
},
"groups": [
{
"id": "new_group",
"title": "Forecasts",
"items": [
{
"id": "355670938",
"name": "PIPE: Production & Client Management | STAGE: New Support Intake | NAME: TESTY | DATE: 10/27/2019 | TIME: 8:00 am | TIME ZONE: Central Time | DURATION: 60 minutes | TYPE: All Virtual | AUDIENCE VIEW:"
}
]
}
]
}
]
},
"account_id": 55555555
}
I need the information extracted from items.name for DATE, TIME, DURATION, and TYPE. How could i set up a function to pull just this information?