I looked on How to match "anything up until this sequence of characters" in a regular expression?
But this is not my case
I need to get everything inside (code) and (
)
Example
```code
this is i want to get
this is too
```
I tried this regex
```.+\s*(.+)\s*```
But it doesn't work with multiple line data. What should I do to make it work?