JavaScript Regex

Open-source JavaScript projects categorized as Regex

Top 23 JavaScript Regex Projects

  1. xregexp

    Extended JavaScript regular expressions

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. micromatch

    Highly optimized wildcard and glob matching library. Faster, drop-in replacement to minimatch and multimatch. Used by square, webpack, babel core, yarn, jest, ract-native, taro, bulma, browser-sync, stylelint, nyc, ava, and many others! Follow micromatch's author: https://github.com/jonschlinkert

  4. HackVault

    A container repository for my public web hacks!

  5. emoji-regex

    A regular expression to match all Emoji-only symbols as per the Unicode Standard.

  6. picomatch

    Blazing fast and accurate glob matcher written JavaScript, with no dependencies and full support for standard and extended Bash glob features, including braces, extglobs, POSIX brackets, and regular expressions. Used by GraphQL, Jest, Astro, Snowpack, Storybook, bulma, Serverless, fdir, Netlify, AWS Amplify, Revogrid, rollup, routify, open-wc, imba, ava, docusaurus, fast-glob, globby, chokidar, anymatch, cloudflare/miniflare, pts, and more than 5 million projects! Please follow picomatch's autho

  7. netflix-to-srt

    Rip, extract and convert subtitles to .srt closed captions from .xml/dfxp/ttml and .vtt/WebVTT (e.g. Netflix, YouTube)

  8. wild-wild-path

    🤠 Object property paths with wildcards and regexps 🌵

  9. Sevalla

    Deploy and host your apps and databases, now with $50 credit! Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!

    Sevalla logo
  10. Sketch-Find-And-Replace

    Sketch plugin to do a find and replace on text within layers

  11. regex

    JS regexes ➕ future. A template tag for readable, high-performance, native JS regexes with extended syntax, context-aware interpolation, and always-on best practices. (by slevithan)

    Project mention: Show HN: Regolith – Regex library that prevents ReDoS CVEs in TypeScript | news.ycombinator.com | 2025-08-26

    FWIW there's also https://github.com/slevithan/regex "JS regexes future. A template tag for readable, high-performance, native JS regexes with extended syntax, context-aware interpolation, and always-on best practices". From the docs:

    Highlights include support for insignificant whitespace and comments, atomic groups and possessive quantifiers (that can help you avoid ReDoS), subroutines and subroutine definition groups (that enable powerful subpattern composition), and context-aware interpolation of regexes, escaped strings, and partial patterns.

  12. js-tokens

    Tiny JavaScript tokenizer.

  13. homebridge-http-switch

    Powerful http switch for Homebridge: https://github.com/homebridge/homebridge

  14. check-password-strength

    A simple npm package that checks the password strength of a certain passphrase. A password strength checker based from Javascript RegEx.

  15. grex-js

    A JavaScript / WebAssembly library for generating regular expressions from user-provided test cases

  16. to-regex-range

    Pass two numbers, get a regex-compatible source string for matching ranges. Fast compiler, optimized regex, and validated against more than 2.78 million test assertions. Useful for creating regular expressions to validate numbers, ranges, years, etc.

  17. re2js

    RE2JS is the JavaScript port of RE2, a regular expression engine that provides linear time matching

  18. tree-sitter-regex

    Tree-sitter parser for regular expressions

  19. wild-wild-utils

    🤠 Functional utilities using object property paths with wildcards and regexps 🌵

  20. regolith

    A server-side TypeScript and JavaScript library immune to Regular Expression Denial of Service (ReDoS) attacks by using Rust and linear RegEx under the hood. Regolith has a linear worst case time complexity, compared to the default RegExp found in TypeScript and JavaScript, which has an exponential worst case.

    Project mention: Show HN: Regolith – Regex library that prevents ReDoS CVEs in TypeScript | news.ycombinator.com | 2025-08-26
  21. homebridge-http-temperature-sensor

    Http temperature sensor for Homebridge: https://github.com/homebridge/homebridge

  22. ultimate-REGEX-extension

    ctrl+shift+F Text multi-tool browser extension with familiar Ctrl+F visuals. **need contributors to be the best & complete**

  23. homebridge-http-lightbulb

    Powerful http lightbulb for Homebridge: https://github.com/homebridge/homebridge

  24. find-in

    Yet another tool, written in JS for Searching Text in Files!

  25. markdown-regex

    Set of constants that can help you to parse markdown content

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

JavaScript Regex discussion

Log in or Post with

JavaScript Regex related posts

  • Show HN: Regolith – Regex library that prevents ReDoS CVEs in TypeScript

    4 projects | news.ycombinator.com | 26 Aug 2025
  • Show HN: Regolith – Regex library for TypeScript made to prevent ReDoS attacks

    1 project | news.ycombinator.com | 8 Aug 2025
  • Using Regex with Express

    1 project | dev.to | 11 Jul 2025
  • Ask HN: How did you learn Regex?

    6 projects | news.ycombinator.com | 8 Aug 2024
  • Fix: Replace is-number dep with a one-liner

    1 project | news.ycombinator.com | 2 Aug 2024
  • Context-aware JavaScript regex template tag with advanced features

    1 project | news.ycombinator.com | 4 Jul 2024
  • When you have a problem and solve it using RegEx, you end up with two problems

    5 projects | /r/ProgrammerHumor | 20 Jan 2023
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 1 Sep 2025
    InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more →

Index

What are some of the best open-source Regex projects in JavaScript? This list will help you:

# Project Stars
1 xregexp 3,325
2 micromatch 2,958
3 HackVault 2,005
4 emoji-regex 1,820
5 picomatch 1,101
6 netflix-to-srt 821
7 wild-wild-path 730
8 Sketch-Find-And-Replace 711
9 regex 599
10 js-tokens 524
11 homebridge-http-switch 228
12 check-password-strength 183
13 grex-js 181
14 to-regex-range 168
15 re2js 154
16 tree-sitter-regex 93
17 wild-wild-utils 39
18 regolith 61
19 homebridge-http-temperature-sensor 31
20 ultimate-REGEX-extension 31
21 homebridge-http-lightbulb 23
22 find-in 11
23 markdown-regex 10

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com

Did you know that JavaScript is
the 3rd most popular programming language
based on number of references?