Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

connrs/node-find-hashtags

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Detect Hashtags

Travis CI Test Status

Get an array of hashtags extracted from a string.

Usage

var findHashtags = require('find-hashtags');

console.log(findHashtags('This #text contains a number of #useful hashtags'));
// ['text', 'useful']

The function returns an array containing the hashtags found within a string. It only matches letters and numbers as components of a hashtag.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published