メールアドレスの重複を消す方法
- アドレスを貼る
- 大文字を区別しない
- コピーする
メールの配信リストや、参加者の連絡先に、同じメールアドレスが何度も入っていると、同じ人に二重にメールが届いてしまいます。重複した行を消す・並べ替える で、重複を取り除けます。
手順
- 「整える前(1行に1つ)」に、メールアドレスを1行に1つずつ貼り付けます。
- 「重複した行を消す」にチェックを入れます。
- 「重複を調べるとき、大文字と小文字を区別しない」にチェックを入れます。
- 「行の前後の空白を消す」と「空行を消す」にもチェックを入れます。
- 「整えた後」を確認し、「結果をコピー」でコピーします。
おすすめの設定
- 重複した行を消す:オン
- 大文字と小文字を区別しない:オン
- 行の前後の空白を消す:オン
- 空行を消す:オン
- 並べ替え:「五十音・ABC順」にすると、残りの確認がしやすい
区切りが違う場合
カンマやセミコロンで区切られたアドレスは、1行に1つになおしてから貼り付けます。別のツールで、区切り文字を改行に置き換えられます。
ミスを防ぐポイント
- 重複を消す前後の行数を、比べる
- 消えた行数が、想定どおりか確認する
- 宛名つきの形式(「山田 <a@example.com>」)は、そのままだと重複を見つけにくい
個人情報の扱い
メールアドレスは、個人情報です。このツールでは、外に送られませんが、整理したリストの保管先と共有範囲には注意します。
例
複数のイベントの申込者リストを合体させたら、同じアドレスが多く含まれていた。整理して、配信先を二重に送らずにすんだ。
つまずきやすい点
- 似たアドレスが残る:表記のゆれ(空白、大文字)を先に整える。
- 宛名つきは別物:アドレス部分だけに整えてから比べる。
- Gmailのドットなど:同じ受信箱でも、表記が違えば別の行になる。
よくある質問
重複の中で、どの行が残りますか?
最初に出た行が残ります。
まとめ
大文字・小文字を区別せず、空白も消して、重複をなくす。個人情報の取り扱いにも注意しましょう。
重複した行を消す・並べ替えるを使う(無料)あわせて使えるツール
- 文章の改行を消す・整える:PDFなどからコピーした文章の改行を整えます。
- 文字数カウント(エントリーシート・レポート用):文章の文字数・行数・原稿用紙の枚数などを数えます。
- 全角・半角、ひらがな・カタカナを変換する:全角・半角、ひらがな・カタカナを変換します。
同じツールの、ほかの解説
How to Remove Duplicate Email Addresses
- Paste addresses
- Ignore case
- Copy
If a mailing list or a list of attendees' contacts contains the same email address many times, the same person gets double emails. Remove Duplicate Lines and Sort a List can remove the duplicates.
Steps
- Paste the email addresses, one per line, into "Before tidying (one per line)".
- Tick "Remove duplicate lines".
- Tick "Ignore case when checking duplicates".
- Also tick "Remove spaces at the start and end of lines" and "Remove empty lines".
- Check "After tidying" and copy with "Copy result".
Recommended settings
- Remove duplicate lines: on
- Ignore case: on
- Remove spaces at the start and end of lines: on
- Remove empty lines: on
- Sort: "A–Z / Japanese order" makes checking what remains easier
If the separators differ
Convert comma- or semicolon-separated addresses to one per line before pasting. Another tool can replace separators with line breaks.
Points to prevent mistakes
- Compare the line counts before and after removing duplicates
- Check that the number removed is as expected
- Formats with names ("Yamada <a@example.com>") make duplicates hard to find as they are
Handling personal information
Email addresses are personal information. This tool does not send them outside, but mind where the tidied list is stored and how widely it is shared.
Example
Combining the applicant lists of several events contained many of the same addresses. After tidying, destinations were not mailed twice.
Common stumbling blocks
- Similar addresses remain: tidy notation variations (spaces, case) first.
- Names attached make them different: reduce to just the address part before comparing.
- Gmail dots and so on: even for the same inbox, different notation is a different line.
Frequently asked questions
Which line remains among duplicates?
The first to appear remains.
Summary
Ignore case, strip spaces and remove duplicates. Also take care over personal information.
Use "Remove Duplicate Lines and Sort a List" (free)Tools that go well with this
- Remove and Tidy Line Breaks in Text: Tidy line breaks in text copied from PDFs and elsewhere.
- Character Counter (for Applications and Reports): Count characters, lines and manuscript sheets of your text.
- Convert Full-Width, Half-Width, Hiragana and Katakana: Convert full-width/half-width and hiragana/katakana.