Workflow Calculated Field for Extracting Domain from Email

Total noob here… Can someone please share the calculation to extract the domain name from the email address of a contact? I use this for excel =MID(A1,SEARCH("@",A1)+1,255) & =regexextract(A1;"@(.*)") for google sheets.

Thank you for any help.

Hi,
Do you need the formula with PHP code to extract domain name??
or what?
Sorry i am unable to get what you are saying.