Big news!Introducing Socket AI - ChatGPT-Powered Threat Analysis. Learn more
Socket
Log inDemoInstall

find-hashtags

Package Overview
Dependencies
1
Maintainers
1
Versions
3
Issues
File Explorer

Advanced tools

find-hashtags

Extracts the hashtags from a string

    1.0.1latest
    GitHub

Version published
Maintainers
1
Weekly downloads
812
increased by10.03%

Weekly downloads

Readme

Source

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.

Keywords

FAQs

Last updated on 13 Oct 2016

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket
support@socket.devSocket SOC 2 Logo

Product

  • Package Issues
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc