I have the multiple line string which need to remove/add 
here's the data that I would like to edit

```
  data{
      id
      date
      ***progress{
        update
        progressStatus
      }***
      events {
        id
        time
      }
    }

```

my point is how do I remove 

```
progress{
            update
            progressStatus
          }

```

I had tried 'replace', 'assign' to remove it as below but not working

```
  const test = data.replace(progress, '');

```

Thank you.