I have this string:
(3 + 5) * (1 + 1)
I want to match this strings:
(3 + 5)
and
(1 + 1)
I used this to try to match it:
(\(.*\))
But that matches the whole string, from the first ( to the last ).
Any idea on how to fix this / make it working?