I am wondering what should I change to make this scope run well. 

What I need to find is all the occurences of the code with following structure:

```
new MyObject(parameters)
{somethingHere}

```

There may be anything for MyObject, parameters and something here. Moreover between (...) and {...} may be new line or just spaces.

What I have tried to do is:

```
new [^(]*([^)]*)){[^}]*}

```

However this doesn't work well. I have tried then to find something on <http://www.regular-expressions.info/continue.html> and the following section was very promising, but failed: <http://www.regular-expressions.info/continue.html> .

May anyone give me a hint what should I change in my expression ?

Regards