PHP Twitter Hashtag Validation Regex · GitHub
https://gist.github.com/janogarcia/3946583
Une regex pour valider un hashtag. Implémentation en PHP.
```php
<?php
/**
* PHP Regex to validate a Twitter hashtag
*
* Useful for validating a text input (an HTML form in your CMS or custom application) that must be a valid Twitter hashtag.
* Valid examples: #a, #_, #_1, #_a, #1a, #áéìôü, #123hàsh_täg446
* Invalid examples: #1, ##hashtag, #hash-tag, #hash.tag, …
#shaarli — https://links.kalvn.net/?9aGqkQ
#a #_ #_1 #_a #1a #áéìôü #123hàsh_täg446 #hashtag #hash #shaarli