Strike the Match

Given any string, for example

((A-B)/C-D*(E+F))

write a function which will check whether the parentheses match.

Output either

Yes, the parentheses match.

or

No, the parentheses do not match.

Hint: Use a stack.