NAME

HTML::SocialMedia::Hashtag

DESCRIPTION

Get #hashtags and @usernames from html

SYNOPSIS

use HTML::SocialMedia::Hashtag;
my $scanner = HTML::SocialMedia::Hashtag -> new( text => 'text with #hashtag and @username' );
my @hashtags  = $scanner -> hashtags();
my @usernames = $scanner -> usernames();

METHODS

hashtags()

Get lowercased and unique hashtags from html

all_hashtags()

Get all hashtags

nicknames()

Get unique nicknames from html

nicknames()

Get all nicknames

AUTHOR

German Semenkov german.semenkov@gmail.com