Test, validate and match regular expressions
This regex matches hashtags, supporting standard word characters alongside Arabic script (U+0600-U+06FF) and specific zero-width formatting characters. It uses a negative word boundary (\B) to ensure the hashtag symbol isn't preceded by other word characters, preventing false positives. It is highly effective for extracting tags from bilingual English-Arabic social media posts or forums.