How it works
A mention is an @ followed by letters, digits, underscores and periods, starting at the beginning of the text or after a character that is not part of a word. Because the @ in an email address follows a letter, addresses like hello@example.com are not mistaken for mentions. A period at the very end, usually the end of a sentence, is removed.
Rules this tool follows
- Usernames can be up to 50 characters.
- Periods inside names are kept (@john.doe), as some platforms allow them.
- Duplicates are removed ignoring case, keeping the first spelling.
Example
Input
Thanks @anna_b and @john.doe! Mail hello@example.com. cc @anna_b
Output
@anna_b @john.doe
Common uses
- Listing everyone mentioned in a thread or export.
- Building contact lists from social media comments.
- Checking which accounts a draft post tags.
Limitations and notes
- Platform rules differ; some do not allow periods, and some have shorter limits.
- Display names that do not use @ are not detected.