I have a `List<string>` which looks like the following code below. 

I need to collect the data between the `{` and `}` I'm not sure how I should proceed, so any information would be appreciated.

```
send 1,
wait 200,
loop 5 {,
send 2,
wait 200,
},
send 3,
loop 2 {,
send a,
wait 50,
}

```