How to retrieve a particular value from json [duplicate]

{
"analysisUnits": [
{
  "links": [
    {
      "rel": "self"
    }
  ],
  "name": "MI5-WES7",
}
],
 "name": "MTS Recording Cluster",
 "recordingUnits": [
{
  "activePCIeExt": false,
  "dataBlocking": false,

  "links": [
    {
      "rel": "self"
    }
  ],
  "name": "MI5-WES7 #5192 radar-mi",
  "recDriveFull": false,
  "recDriveSpaceLow": false,
  }
  {
  "activePCIeExt": false,
  "dataBlocking": false,
  "links": [
    {
      "rel": "self"
    }
  ],
  "name": "OZD1457W #191 radar-mi",
  "recDriveFull": false,
  }]

Here in the above json, I want to get the value present under recording units “name”: “MI5-WES7 #5192 radar-mi”, in the above name I want only the number after #, which is 5192 should be stored with corresponding name radar-mi in an array. similarly there is another device with “name”: “OZD1457W #191 radar-mi”. So it should check for the no of such recording units present and store its values in array.