Regex (Regular Expression) to find the username of an email address12 / 11 / 2014
Given the email address firstname.lastname@example.org
.+\@ finds username@
This only works if the email address is on it’s own line or if your using a regex on a field. I used it in Sublime Text to find the "username@" part of email addresses so that I could remove them and be left with only the domains.