the Given string :
/CN=RECIPIENTS/CN=GMAIL.ONMICROSOFT.COM-52001-KARNIK@GMAIL.COM213
/CN=RECIPIENTS/CN=GMAIL.ONMICROSOFT.COM-52001-AHMED@GMAIL.COM213
OUTPUT :
KARNIK@GMAIL.COM
AHMED@GMAIL.COM
I m using this pattern but it is not working
^\w+@[a-zA-Z_]+?\.[a-zA-Z]{2,3}$