Thanks for the reply but in mail body multiple deal id inside the braces for example
Input:
Hi ,
Finance Information for ABC Inc (53481CRED). Could you review tye attached deal to settle the (63471DEAL) for this month.
The Entire email body will have multiple deal codes but we need to extract tye deal id which is prior to Could you please review.
Expected Output: 53481CRED