We can find the following email address regex in UiPath string matches activity.
((?>[a-zA-Z\d!#$%&'+-/=?^_{|}~]+\x20*|"((?=[\x01-\x7f])[^"\\]|\\[\x01-\x7f])*"\x20*)*(?<angle><))?((?!\.)(?>\.?[a-zA-Z\d!#$%&'*+\-\/=?^_
{|}~]+)+|“((?=[\x01-\x7f])[^”\]|\[\x01-\x7f])")@(((?!-)[a-zA-Z\d-]+(?<!-).)+[a-zA-Z]{2,}|[(((?(?<![).)(25[0-5]|2[0-4]\d|[01]?\d?\d)){4}|[a-zA-Z\d-]*[a-zA-Z\d]:((?=[\x01-\x7f])[^\]|\[\x01-\x7f])+)])(?(angle)>)
This regex looks too complex for me. I’ve not seen this much complex regex for email extraction. Can someone please explain this regex in detail or do we have any website/documenation explaining this part by part?