Possible Duplicate:
Remove Text Between Parentheses PHP
I have a query string such as
string="this is my string attributeone(values) attributetwo(values,valuestwo) more string"
How can I write a PHP regex to retrieve "this is my string more string"
There could be different number of attributes at any place in the sentence and different number of values within them.