Mention Extractor
Extract every @mention from a post, one per line, without mistaking an email address for a mention.
What this page does
The page lists the @mentions in a message once each, and it deliberately does not read the part of an email address before the @ as a mention.
How to use it
Paste or type the text and press Run. The result appears beside the form. With "Thanks @ada and @grace_hopper — mail [email protected] instead.", the page gives:
@ada
@grace_hopper
The rule it applies
A mention is @ followed by letters, digits or underscores, and the character before the @ must not be a letter, digit, underscore or one of @ . # % + -. Matches are listed once in first-appearance order.
The input text is not changed; the page only prints the mentions it found. Every character is read in your browser: nothing is uploaded and nothing is stored.
The page lists the @mentions in a message once each, and it deliberately does not read the part of an email address before the @ as a mention.
The rule this page applies: A mention is @ followed by letters, digits or underscores, and the character before the @ must not be a letter, digit, underscore or one of @ . # % + -. Matches are listed once in first-appearance order.
Worked example: "Thanks @ada and @grace_hopper — mail [email protected] instead." gives the output recorded in the example below, character for character.
How to use the Mention Extractor
Paste or type the text into the box and press Run. The result appears beside the form, and pressing Run again re-reads whatever is in the box.
This page has nothing to configure: it reads the text and applies the rule below. Thanks @ada and @grace_hopper — mail [email protected] instead.
The rule this page applies
A mention is @ followed by letters, digits or underscores, and the character before the @ must not be a letter, digit, underscore or one of @ . # % + -. Matches are listed once in first-appearance order.
The input text is not changed; the page only prints the mentions it found.
What to Expect
Best for
- Checking who a reply notifies
- Collecting handles from a thread
Not ideal for
- Resolving a handle to an account, which needs a network
- Email addresses, which are skipped by design
What this tool keeps
- The text exactly as you pasted it
- The same answer on every run
- Nothing sent, stored or logged
What may need cleanup
- Nothing: the page prints its measurements and leaves your text alone
- Unusual spacing in the paste, which changes the counts
Common errors
- Text with no mention is refused by name rather than printing an empty result.
- An empty box, which the page refuses rather than printing a blank result
Example use cases
- Reviewing a draft announcement
- Building a contact list
Sample input
Thanks @ada and @grace_hopper — mail [email protected] instead.
Sample output
@ada @grace_hopper
Who this is for
- community managers
- writers
Frequently asked questions
What rule does this page apply?
A mention is @ followed by letters, digits or underscores, and the character before the @ must not be a letter, digit, underscore or one of @ . # % + -. Matches are listed once in first-appearance order.
What input does it refuse?
Text with no mention is refused by name rather than printing an empty result.
What is left unchanged?
The input text is not changed; the page only prints the mentions it found.
Is anything uploaded?
No. The text is read by JavaScript in this page and nothing is posted, stored or logged.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.