\((.+)\)
or
^\((.+)\)$
or
^\((\w+)\)$
Note: If the processing content changes, regularization should also be modified.
C language, don't write, because there is no normalization processing efficiency.
If you are interested, you can go and see:
Learning experience of crifan regular expression
I don't want to post the address here. Please Google the title yourself and you will find the post address. )