- Two matches @ mentions with no space between @thebox193@discodude
- Matches with one . in them @disco.dude but not two .. @disco..dude
- Beginning period not matched @.discodude
- Ending period not matched @discodude.
- Match underscores _ @_disco__dude_
- Max characters of 30 @1234567890123456789012345678901234567890
For hashtags use the same regex, it’s the same rules, just replace the
@ for a