My first problem is, I need to search for two consecutive sets of parenthesis, for example, (log dkdkdkd) (log edksks)
This code below solves this first problem:
^\([^)]*\) \([^)]*\)$
Second problem, in addition to using the solution above, I need to capture the text after the log something like this:
^\(log (.*)\) \(log (.*)\)$
But this above solution does not work because it find more than two sets of parenthesis, for example:
(log dkdkdkd) (log edksks) (log riwqoq)
What I really need is to find two sets of consecutive parenthesis while capturing the text after the log text?