Sorry, sent too soon. You are trying to remove from the first list any
emails also in second. So

   - Copy file 2 and add to end of file 1
   - Sort lines so duplicates are together.
   - Use regex.
      - Search for *^(.+)\r\1\r *(start of line, string, end of line,
      return, same line, return
      - Replace with nothing.

Hope that works.

On Mon, 5 Aug 2024 at 14:32, Kaveh Bazargan <[email protected]> wrote:

> If it is a clean list with no leading or trailing spaces, and only one
> occurrence of an email in each list, then
>
>    - Copy file 2 and add to end of file 1
>    - Process duplicate lines – options should show the choices.
>
> If any more complications you need to do a bit more...
>
> On Mon, 5 Aug 2024 at 14:27, Christophe Ribot <[email protected]>
> wrote:
>
>> Hello everyone,
>>
>> I have two text files composed of email addresses. I want to remove from
>> the first file the emails contained in the second. Is this possible in a
>> simple way with BBEdit?
>>
>> Thanks for your insights.
>>
>> --
>> This is the BBEdit Talk public discussion group. If you have a feature
>> request or believe that the application isn't working correctly, please
>> email "[email protected]" rather than posting here. Follow @bbedit
>> on Mastodon: <https://mastodon.social/@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 view this discussion on the web visit
>> https://groups.google.com/d/msgid/bbedit/5f9cea39-33b6-43cc-8bd6-b5cb71dd3c8en%40googlegroups.com
>> <https://groups.google.com/d/msgid/bbedit/5f9cea39-33b6-43cc-8bd6-b5cb71dd3c8en%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> --
> Kaveh Bazargan PhD
> Director
> River Valley Technologies <http://rivervalley.io> ● Twitter
> <https://twitter.com/rivervalley1000> ● LinkedIn
> <https://www.linkedin.com/in/bazargankaveh/> ● ORCID
> <https://orcid.org/0000-0002-1414-9098> ● @[email protected]
> <https://mastodon.social/@kaveh1000>
> *Accelerating the Communication of Research*
>
> *
> <https://www.linkedin.com/posts/bazargankaveh_ismte-innovation-award-recipient-kaveh-bazargan-activity-7039348552526921728-XAEB/?utm_source=share&utm_medium=member_desktop>
>   [image:
> https://rivervalley.io/gigabyte-wins-the-alpsp-scholarly-publishing-innovation-award-using-river-valleys-publishing-technology/]
> <https://rivervalley.io/gigabyte-wins-the-alpsp-scholarly-publishing-innovation-award-using-river-valleys-publishing-technology/>*
>


-- 
Kaveh Bazargan PhD
Director
River Valley Technologies <http://rivervalley.io> ● Twitter
<https://twitter.com/rivervalley1000> ● LinkedIn
<https://www.linkedin.com/in/bazargankaveh/> ● ORCID
<https://orcid.org/0000-0002-1414-9098> ● @[email protected]
<https://mastodon.social/@kaveh1000>
*Accelerating the Communication of Research*

*
<https://www.linkedin.com/posts/bazargankaveh_ismte-innovation-award-recipient-kaveh-bazargan-activity-7039348552526921728-XAEB/?utm_source=share&utm_medium=member_desktop>
 [image:
https://rivervalley.io/gigabyte-wins-the-alpsp-scholarly-publishing-innovation-award-using-river-valleys-publishing-technology/]
<https://rivervalley.io/gigabyte-wins-the-alpsp-scholarly-publishing-innovation-award-using-river-valleys-publishing-technology/>*

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or believe that the application isn't working correctly, please email 
"[email protected]" rather than posting here. Follow @bbedit on Mastodon: 
<https://mastodon.social/@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 view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/CAJ2R9pj2%3D5iVQJdho1WewwyjG-MkWtQV1UO3KMcZeGd%2BM9m_jA%40mail.gmail.com.

Reply via email to