Launching a SaaS?·Collect waitlist signups before you build — before.run
SandboxPatternsDetectDocs
Social
#hashtag
#social
#twitter
#instagram

Hashtag

Matches a social media hashtag — # followed by one or more word characters (letters, digits, underscores), starting with a letter.

Social media parsingContent taggingTrending topics
/
/
Test String
4 matches
##'#' — literal character
[…]Character class […]Matches any single character listed in this set
A-ZA-ZA-Z — range from 'A' to 'Z'
a-za-za-z — range from 'a' to 'z'
[…]*Character class […]Matches any single character listed in this set — repeated zero or more times (greedy) · * — zero or more times (greedy)
A-ZA-ZA-Z — range from 'A' to 'Z'
a-za-za-z — range from 'a' to 'z'
0-90-90-9 — range from '0' to '9'
__'_' — literal character
Pattern: 22 charsInput: 43 chars
100% client-side · private

Valid Examples

  • #regex
  • #WebDev2024
  • #hello_world
  • #TypeScript

Invalid Examples

  • #123abc
  • # space
  • #
  • notahashtag