hashTagRegExp top-level property
Regular expression to extract hashtag from text
Supports English, Japanese, Korean, Spanish, Arabic, and Thai
Implementation
final hashTagRegExp = RegExp(
"(?!\\n)(?:^|\\s)(#([$hashTagContentLetters]+))",
multiLine: true,
);