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

@Mention

Matches a social media @mention — @ followed by 3–30 word characters.

Social media parsingNotification triggersUser tagging
/
/
Test String
3 matches
@@'@' — literal character
[…]{3,30}Character class […]Matches any single character listed in this set — repeated between 3 and 30 times · {3,30} — between 3 and 30 times
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: 19 charsInput: 30 chars
100% client-side · private

Valid Examples

  • @johndoe
  • @web_dev_42
  • @regex_to

Invalid Examples

  • @jo
  • @this_is_a_very_long_handle_that_exceeds_limit
  • no_at_sign