please help me
No, the parenthese pair showed up on your question are matacharacters. They have special meaning and will not match the parenthese showed up on the AS-PATH attribute. To match a BGP confederation route which has perenthesis pair in the AS-path attribute, use \( and \) instead. This "\" prior to the "(" and ")" will cancel the special meaning of "(" and ")", and just match the character "(" and ")".
For example, if you want to match the following AS-PATH exactly
use the following regular expression