JavaScript RegExp

RegExr About RegExr.com is an online tool to learn, build, and test Regular Expressions. It was created by Grant Skinner and the nice people at gskinner.com. Features Results update in real-time as you t

 8.1k

Regulex Regulex is a JavaScript Regular Expression Parser & Visualizer. Try it now: https://jex.im/regulex/ This project is under reconstruction! Features Written in pure JavaScript. No backend required. Yo

 4.9k

iHateRegex ? don't just use; understand. iHateRegex.io - a regex cheatsheet for the haters. Chat with us on Telegram Features ? Visual representation of

 3.2k

regexgen Generates regular expressions that match a set of strings. Installation regexgen can be installed using npm: npm install regexgen Example The simplest use is to simply pass an array of strings t

 3.1k

XRegExp 5.1.0 XRegExp provides augmented (and extensible) JavaScript regular expressions. You get modern syntax and flags beyond what browsers support

 3.1k

Regexper Code for the http://regexper.com/ site. Contributing I greatly appreciate any contributions that you may have for the site. Feel free to fork the project and work on any of the reported issues, or l

 2.3k

Regex Hub The project is hosted here: https://projects.lukehaas.me/regexhub Adding a new pattern The patterns are contained in the file src/data/index.js Each pattern requires the following details: name regex

 2.2k

Learn RegEx step by step, from zero to advanced.

 1.4k

A curated collection of awesome Regex libraries, tools, frameworks and software

 1.2k
Sindre Sorhus
Escape RegExp special characters

sindresorhus/escape-string-regexp

escape-string-regexp Escape RegExp special characters Install $ npm install --save escape-string-regexp Usage const escapeStringRegexp = require('escape-string-regexp'); const escapedString = esc

 484

Super Expressive is a JavaScript library that allows you to build regular expressions in almost natural language - with no extra dependencies, and a lightweight code footprint (less than 3kb with minification + gzip!).

 433

ReX.js Your RegEx companion. The JS Library for writting complex RegExps with help of autocompletion! import { Matcher } from '@areknawo/rex' // Trivia example of usage const expr = new Matcher() .find('Reg') .whitespa

 289

Build Your Own Regex This is a test spec driven guide to help you build a simple regex engine. This regex engine supports the following syntax: Syntax Meaning Example matches a Matc

 193

The magical sticky regex-based parser generator ?

 166

natural-regex Create regex from natural language Attention - This project isn't completed yet. There might be breaking changes until version 1.0.0. Feel free to contribute, see TODO to get started. natur

 148
Simple Regex Language
JavaScript implementation of SRL.

SimpleRegex/SRL-JavaScript

SRL-JavaScript JavaScript implementation of Simple Regex ? ? ? Because of the JavaScript regex engine, there is something different from Simple Regex Support as to assign capture name with CODE

 133

RegexGen.js - JavaScript Regular Expression Generator RegexGen.js is a JavaScript regular expression generator that helps to construct complex regular expressions, inspired by JSVerbalExpressions. RegexGen.js is basicall

 81

stack-expression stack expressions are similar to regular expressions, but can parse nested structures. I had tried out a few parsing libraries. I tried nearley, it was easy to write the grammar but hard to debug the ast. chevot

 60
node_modules
The regular expressions for China mobile phone number.

node-modules/china-mobile-phone-regexp

china-mobile-phone-regexp The regular expressions for China mobile phones. Install $ npm i china-mobile-phone-regexp --save Usage const phone = require('china-mobile-phone-regexp'); // Is phone

 60

A typescript library for writing type-safe regular expressions using named capture groups.

 45

regexgen.macro Convert your set of strings to optimized RegExps at build time with babel macros. Installation npm install --save-dev regexgen.macro Usage import regexgen from 'regexgen.macro' re

 37

Match Erlang-like pattern matching in JavaScript (use at your own risk). const { match } = require('@yuanchuan/match'); const sum = match( ([]) => 0, ([H, ...T]) => H + sum(T) ); // 10 sum([1, 2, 3, 4]);

 31

astral-regex Regular expression for matching astral symbols Install $ npm install astral-regex Usage const astralRegex = require('astral-regex'); astralRegex({exact: true}).test('?'); //=> tr

 29

rewrap a regexp wrapper, less pain and more fun with regexp :) feature compose the regexp by string, regexp, rewrap object compositional method refer to the predefined regexp get match by named path

 25

@egoist/path-parser This module is entirely extracted from vue-router, it's basically a light-weight version of path-to-regexp with path ranking suppo

 19
Abhinav Omprakash
A DSL that translates to regex

AbhinavOmprakash/luna

luna No more regrets, wield the power of regex with the readability of English with luna. About luna is a Domain specific language (DSL) that is reada

 14

whence Add context awareness to your apps and frameworks by safely evaluating user-defined conditional expressions. Useful for evaluating expressions

 13

Cron Expression Input Description Cron Expression UI: Input component to generate cron expressions easily and intuitively, as in https://crontab.guru/

 12

emoji-test-regex-pattern emoji-test-regex-pattern offers Java- and JavaScript-compatible regular expression patterns to match all emoji symbols and se

 12

LogRegex LogRegex allows you to find patterns inside of logs. Let's jump right into an example: import { FileHandler, LogRegex, Matcher } from "./inde

 5

常用漢字表 常用漢字表(平成22年内閣告示第2号)のPDFから本表を抽出し、JSON形式に変換したものです。 著作権について 著作権法第十三条の二において、国が発する告示は、著作権法第二章の規定による権利の目的となることができない旨が定められています。 e-gov 法令検索 著作権法 データ抽出プロ

 4

NOTE: This is a toy package created for expository purposes, for the second edition of R Packages. It is not meant to actually be useful. If you want

 3