Try something like this:
FIND:
^(.+?@)(\S+)
[1st capture group is start of line up through first @ sign; 2nd is
a run of characters without spaces after the @.]
CHANGE TO:
%%\2%%%\1\2
[Add the 2nd group to the front of the line, preceded by %% and
followed by %%%. The choice of delimiters is inconsequential, as
long as it's something not otherwise found.]
---
Then sort the lines.
---
Then remove the part you added in front, including the delimiters:
FIND:
%%.+?%%%
CHANGE TO:
[an empty string]
---------------------
On 7/6/16, 8:39 AM, Bo wrote:
How do I sort an an email list by domain name?
___________________________________________
RICK GORDON
EMERALD VALLEY GRAPHICS AND CONSULTING
___________________________________________
WWW: http://www.shelterpub.com
--
This is the BBEdit Talk public discussion group. If you have a
feature request or would like to report a problem, please email
"[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
---
You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].