Movies App



In my Project assignment, Aggregate field contains both cast and crew details of a movies in a single attribute..the crew details are mentioned with "mark(production)" and cast are mentioned as "rose" i need to create a attribute that need to fetch only the text with xxx(xxx) open and close brackets..i'm new to coding., how can i implement the formula or condition in the new attribute of aggregate?..Please Guide me 

- open the aggregate

- add new attribute "xxx"

- give the value

here is the formula for the value: