in php I want to match the string: name if it was contained between (( ))

I tried:

```
/\(\((.*)\)\)/U

```

and it works perfectly but if the string was between three brackets it fail
so (((name))) or (((name)) doens't work

how to write a regexp for that?

Thanks a lot for your help