PFA solution for the same. in reg_extract you have to give perl compatible characters for pattern match , since i do not found any for @ and . so i used replacechr to convert those into white spaces and then using it inside the reg_extract , a bit complication, yet acheived !