Skip to content
OddsockLocal
Local
Source text

Formatting

5 wordsRuns in this browser. Nothing is uploaded.

How to use

  1. Paste the post or the export.
  2. Read the list. Email addresses should be absent even when they contain @.
  3. Turn Unique matches only on if a handle that appears ten times should appear once.
  4. Copy one mention per line, with the @ still attached.

What is Extract mentions?

Mentions and email addresses both contain @, which is why a careless search mixes them. This page takes an @ only when the character before it is not a word character, a dot, a plus, or a hyphen. That rule is what keeps a@b.co out of the list and lets (@Dryer) in. The name itself is letters, numbers, and underscores.

Read more

“Odd socks in the dryer.” returns nothing. “Tell @dryer and odd@dryer.test and @odd.socks” returns @dryer and @odd. The email never starts a mention, because the @ sits against a letter. The dotted handle is cut at the dot, so socks is not part of the match.

Case is preserved and not folded. @Dryer and @dryer are different lines. Unique matches only drops a later copy of the exact same string. Handles with a hyphen, such as @odd-socks, stop at the hyphen. There is no look into a social network to see whether the account exists.

Use cases

  • A community manager listing every account named in a complaint thread.
  • A reporter separating @handles from the email addresses in a leaked paste.
  • A creator checking which collaborators were tagged on an exported caption.
  • A moderator scanning a dump for a repeated handle without also grabbing inboxes.
  • A developer pulling mention tokens out of a webhook log before parsing the rest.

A handle, an email, and a dotted name

@dryer, odd@dryer.test, and @odd.socks

@dryer @odd The email is not a mention. The dot ends the second handle.

Why use Oddsock

Oddsock runs this in your browser. It is free, it does not upload the work, and it does not ask for an account.

Related tools

Using this tool

The @ has to be clear of a word character, a dot, a plus, and a hyphen. In an email it sits against the local part, so the lookbehind fails.