Skip to content
OddsockLocal
Local
Source text

Formatting

5 wordsRuns in this browser. Nothing is uploaded.

How to use

  1. Paste the caption, thread, or export.
  2. Leave Unique matches only off to keep every occurrence in order.
  3. Turn it on to drop a tag that is repeated with the same characters and the same case.
  4. Copy the list, one tag per line, including the #.

What is Extract hashtags?

Hashtags in a caption are easy to see and annoying to collect. This page finds a # followed by letters, marks, numbers, or underscores, including accents, and lists each one. “Odd socks in the dryer.” has no hash, so the list is empty. “#café_2” is one tag. A lone # with nothing after it is ignored.

Read more

The match stops at the first character that is not a letter, number, or underscore. “#OddSocks” and “#2026!” come back as #OddSocks and #2026, and the exclamation mark stays in the source. “#odd-socks” comes back as #odd only. The hyphen is not part of a tag here, and neither is the socks that follows it.

Case is kept, and it is significant. #Odd and #odd are two lines unless you turn Unique matches only to yes, and even then uniqueness is the exact string, not a case fold. This is a list of tags that were already written. It does not invent CamelCase tags from plain words. That is the hashtag formatter.

Use cases

  • A social manager collecting tags from a month of exported captions.
  • A moderator checking whether a banned tag appears in a pasted thread.
  • A researcher counting campaign tags in a CSV of public posts.
  • A writer noticing that #odd-socks was stored as two tokens by a naive splitter.
  • Someone comparing the tags on a post with the tags they meant to type.

A joined tag, a hyphenated tag, and a year

#OddSocks #odd-socks #2026!

#OddSocks #odd #2026 The hyphen cuts the second tag. The exclamation mark is not part of the third.

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 pattern allows letters, numbers, and underscores. A hyphen ends the match, so only #odd is listed.