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 parsing✓ Content tagging✓ Trending topics
✓ Valid Examples
- #regex
- #WebDev2024
- #hello_world
- #TypeScript
✗ Invalid Examples
- #123abc
- # space
- #
- notahashtag
Usage & Integration
Validate Hashtag natively in your backend or frontend without copying regex strings.
Node / Edge
import { validate } from '@regexto/validators';
validate('hashtag', '...');Python
from regexto_validators import validate
validate("hashtag", "...")Go
import "github.com/regex-to/validators-go"
valid, err := validators.Validate("hashtag", "...")PHP
use RegexTo\Validators\Validator;
Validator::validate('hashtag', '...');Rust
use regexto_validators::validate;
let is_valid = validate("hashtag", "...").unwrap();