JSPM

Found 3041 results for regex

emoji-regex-xs

A regular expression to match all emoji-only symbols

  • v2.0.1
  • 60.69
  • Published

refa

A library for finite automata and regular expressions in the context of JS RegExp

  • v0.12.1
  • 60.65
  • Published

scslre

A library to find JS RegExp with super-linear worst-case time complexity for attack strings that repeat a single character.

  • v0.3.0
  • 60.34
  • Published

function-timeout

Make a synchronous function have a timeout

  • v1.0.2
  • 60.32
  • Published

is-ip

Check if a string is an IP address

  • v5.0.1
  • 60.11
  • Published

deps-regex

Regular expression for matching javascript require/import statements.

  • v0.2.0
  • 60.05
  • Published

is-whitespace

Returns true if the value passed is all whitespace.

  • v0.3.0
  • 59.63
  • Published

oniguruma-parser

Parse, validate, traverse, transform, and optimize Oniguruma regular expressions

  • v0.12.1
  • 59.57
  • Published

scoped-regex

Regular expression for matching scoped npm package names

  • v3.0.0
  • 59.50
  • Published

has-glob

Returns `true` if an array has a glob pattern.

  • v1.0.0
  • 59.04
  • Published

eslint-plugin-regexp

ESLint plugin for finding RegExp mistakes and RegExp style guide violations.

  • v2.10.0
  • 57.96
  • Published

author-regex

Regular expression for parsing an `author` string into an object following npm conventions.

  • v1.0.0
  • 57.37
  • Published

replacestream

A node.js through stream that does basic streaming text search and replace and is chunk boundary friendly

  • v4.0.3
  • 57.22
  • Published

parse-author

Parse an author, contributor, maintainer or other 'person' string into an object with name, email and url properties following npm conventions.

  • v2.0.0
  • 56.89
  • Published

@stdlib/regexp-eol

Return a regular expression to match a newline character sequence.

  • v0.2.2
  • 55.79
  • Published

url-regex

Regular expression for matching URLs

  • v5.0.0
  • 55.75
  • Published

type-level-regexp

Type-Level RegExp parser, matcher and permutation resolver

  • v0.1.17
  • 55.16
  • Published

emojibase

Emojibase utility functions for working with emoji characters.

  • v16.0.0
  • 55.11
  • Published

@stdlib/regexp-regexp

Return a regular expression to parse a regular expression string.

  • v0.2.2
  • 55.07
  • Published

url-pattern

easier than regex string matching patterns for urls and other strings. turn strings into data or data into strings.

  • v1.0.3
  • 55.06
  • Published

strip-color

Strip ANSI color codes from a string. No dependencies.

  • v0.1.0
  • 54.69
  • Published

regextras

Array extras for regular expressions

  • v0.8.0
  • 54.65
  • Published

country-regex

Hash map of country ISO-3 codes to regular expression identifiers

  • v1.1.0
  • 54.62
  • Published

emojibase-regex

Evergreen emoji regex patterns.

  • v16.0.0
  • 54.20
  • Published

highlight-words

Split a piece text into multiple chunks based on a search query, allowing you to highlight the matches.

  • v2.0.0
  • 53.86
  • Published

css-url-regex

Regular expression for matching CSS urls.

  • v4.0.0
  • 53.85
  • Published

update-section

Updates a section inside a file with newer content while removing the old content.

  • v0.3.3
  • 53.52
  • Published

typechecker

Utilities to get and check variable types (isString, isPlainObject, isRegExp, etc)

  • v9.3.0
  • 53.28
  • Published

issue-regex

Regular expression for matching issue references

  • v4.3.0
  • 52.97
  • Published

regexpu

A source code transpiler that enables the use of ES2015 Unicode regular expressions in ES5.

  • v4.8.0
  • 52.35
  • Published

url-regex-safe

Regular expression matching for URL's. Maintained, safe, and browser-friendly version of url-regex. Resolves CVE-2020-7661. Works in Node v10.12.0+ and browsers.

  • v4.0.0
  • 52.22
  • Published

glob-regex

Tiny glob->regex converter

  • v0.3.2
  • 52.21
  • Published

is-git-url

Regex to validate that a URL is a git url.

  • v1.0.0
  • 52.07
  • Published

identifier-regex

Regular expression for matching JavaScript identifiers

  • v1.0.0
  • 52.01
  • Published

reghex

The magical sticky regex-based parser generator 🧙

  • v3.0.2
  • 51.70
  • Published

xml-char-classes

Regular expressions for matching against the XML Character Classes

  • v3.0.0
  • 51.64
  • Published

ua-regexes-lite

A lite useragent regexes collection.

  • v1.2.1
  • 51.47
  • Published

ncname

Regular expression for matching XML NCName

  • v3.0.0
  • 51.29
  • Published

recursive-copy

Simple, flexible file copy utility

  • v2.0.14
  • 51.03
  • Published

is-string-and-not-blank

3x as fast as `is-whitespace` and `whitespace-regex` thanks to `is-string-blank`. This package is a simple function that accepts an argument and returns `true` if it is a string AND it is not blank. Supports Node and Browser environments.

  • v0.0.2
  • 50.97
  • Published

regex-escape

Escapes input characters to be used in regular expressions.

  • v3.4.11
  • 50.92
  • Published

package-name-regex

Provides a regex that can be used to test if a string is a valid NPM package name.

  • v4.0.3
  • 50.87
  • Published

regexp.escape

A robust ES3-compatible polyfill for the `RegExp.escape` proposal - see https://github.com/tc39/proposal-regex-escaping

  • v2.0.1
  • 50.82
  • Published

apg-js

JavaScript APG, an ABNF Parser Generator

  • v4.4.0
  • 50.80
  • Published

org-regex

Regular expression for matching npm organization names

  • v1.0.0
  • 50.75
  • Published

oniguruma-to-js

Covert Oniguruma-flavor Regexp to JavaScript native RegExp

  • v0.4.3
  • 50.37
  • Published

weapon-regex

Weapon regeX mutates regular expressions for use in mutation testing.

  • v1.3.3
  • 50.20
  • Published

match-all

Get all the matches for a regular expression in a string.

  • v1.2.7
  • 49.36
  • Published

delimiter-regex

Create regex for template delimiters.

  • v2.0.0
  • 49.06
  • Published

is-uuid

UUID check for Node and the browser

  • v1.0.2
  • 49.05
  • Published

valid-filename

Check if a string is a valid filename

  • v4.0.0
  • 48.10
  • Published

iso-datestring-validator

The goal of the package is to provide lightweight tools for validating strings denotings dates and time. It includes ISO 8601 datestring validation, simple YYYY-MM-DD date validation and time validation in hh:mm:ss.fff format. See details in readme.

  • v2.2.2
  • 48.09
  • Published

rewrite-imports

A tiny (349B) utility to rewrite `import` statements as `require()`s; via RegExp

  • v3.0.0
  • 47.93
  • Published

skip-regex

Micro parser for detection of literal regexes

  • v1.0.2
  • 47.91
  • Published

ts-regex-builder

Maintainable regular expressions for TypeScript and JavaScript.

  • v1.8.2
  • 47.68
  • Published

object-scan

Traverse object hierarchies using matching and callbacks.

  • v20.0.1
  • 47.44
  • Published

replace-last

JavaScript replaceLast function - Replaces last match for pattern in string with replacement

  • v1.2.6
  • 47.10
  • Published

regx

Tagged template string regular expression compiler.

  • v1.0.4
  • 46.94
  • Published

onigasm

WebAssembly port of Oniguruma regex library

  • v2.2.5
  • 46.87
  • Published

regexp-util

utilities for generating regular expression

  • v2.0.3
  • 46.86
  • Published

grunt-text-replace

Replace text in files using strings, regexs or functions.

  • v0.4.0
  • 46.66
  • Published

xspattern

XML Schema pattern (regular expression) matcher

  • v3.1.0
  • 46.53
  • Published

grammex

A tiny, PEG-like system for building language grammars with regexes.

  • v3.1.10
  • 46.48
  • Published

unicoderegexp

Regular expressions for various Unicode character classes extracted from XRegExp

  • v0.4.1
  • 46.47
  • Published

bash-glob

Bash-powered globbing for node.js

  • v2.0.0
  • 46.43
  • Published

applause

Human-friendly replacements.

  • v2.0.4
  • 46.24
  • Published

@11ty/recursive-copy

A fork of `recursive-copy`: Simple, flexible file copy utility

  • v4.0.2
  • 46.18
  • Published

route-parser

A isomorphic, bullet-proof, ninja-ready route parsing, matching, and reversing library for Javascript in Node and the browser.

  • v0.0.5
  • 46.16
  • Published

requires-regex

Regular expression for matching javascript require statements.

  • v1.0.4
  • 46.14
  • Published

glob-to-regex.js

Transform GLOB patterns to JavaScript regular expressions for fast file path matching.

  • v1.0.1
  • 46.14
  • Published

regexgen

Generate regular expressions that match a set of strings

  • v1.3.0
  • 45.93
  • Published

synesthesia

A collection of regular expressions to match color syntax substrings from a text

  • v1.0.1
  • 45.84
  • Published

colorparsley

colorParsley() • a lightweight yet versatile color parsing function with no dependencies. Takes various color strings, numbers, or objects, and turns them into simple arrays. Bonus utilities colorToHex() and colorToRGB() included

  • v0.1.8
  • 45.59
  • Published

en-route

Routing for static site generators, build systems and task runners, heavily based on express.js routes but works with file objects. Used by Assemble, Verb, and Template.

  • v3.2.0
  • 45.32
  • Published

utils-regex-from-string

Parses a regular expression string and returns a new regular expression.

  • v1.0.0
  • 45.21
  • Published

regex-regex

Regular expression to parse a regular expression string.

  • v1.0.0
  • 45.07
  • Published

quotemeta

escape regular expression characters

  • v0.0.0
  • 45.00
  • Published

email-regex

Regular expression for matching email addresses

  • v6.1.0
  • 44.94
  • Published

import-regex

Regular expression for matching CSS @imports

  • v1.1.0
  • 44.77
  • Published

license-check-and-add

A tool to enable the checking, inserting and removal of licenses

  • v4.0.5
  • 44.26
  • Published

grunt-replace

Replace text patterns with applause.

  • v2.0.2
  • 44.18
  • Published

string-escape-regex

A tiny function for escaping a string to be used as the source in a regex.

  • v1.0.1
  • 44.17
  • Published

gulp-strip-code

A gulp plugin to remove parts of code based on regular expressions.

  • v0.1.4
  • 44.12
  • Published

gfm-code-blocks

Extract gfm (GitHub Flavored Markdown) fenced code blocks from a string.

  • v1.0.0
  • 44.08
  • Published

gfm-code-block-regex

RegExp for gfm (GitHub Flavored Markdown) fenced code blocks.

  • v1.0.0
  • 43.81
  • Published

redos-detector

A CLI and library which tests helps score how vulnerable a regex pattern is to ReDoS attacks. Supported in the browser, Node and Deno.

  • v6.1.2
  • 43.55
  • Published

multichar-regex

a regular expression that matches all the surrogate pairs and combining-marked characters in a string

  • v2.0.0
  • 43.32
  • Published

bump-regex

bump RegEx with semver

  • v4.1.0
  • 43.17
  • Published

jsdoc-regex

Regular expression for matching JSDoc comment blocks and the code below them.

  • v1.0.1
  • 42.87
  • Published

es6-template-regex

Regular expression for matching es6 template delimiters in a string.

  • v1.0.0
  • 42.30
  • Published

comment-regex

Regular expression for matching JavaScript comments

  • v2.0.0
  • 42.17
  • Published

es6-template

Easy and small template engine for the browser and nodejs.

  • v1.0.4
  • 40.51
  • Published

dotdir-regex

Regex for matching dot-directories, like `.git/`

  • v1.0.1
  • 40.40
  • Published

regexify-string

Strings decorator (by regex) with: React components, HTML tags etc.

  • v1.0.19
  • 40.32
  • Published

next-applause

Human-friendly replacements.

  • v2.2.4
  • 40.25
  • Published

es6template

Easy and small template engine for the browser.

  • v1.0.5
  • 40.07
  • Published

anysort

Sorting and matching utility using configurable string, glob, regular expression, and/or function matchers

  • v2.0.0
  • 39.93
  • Published

broccoli-replace

Replace text patterns with applause.

  • v2.0.2
  • 39.83
  • Published

react-process-string

A library to process strings with regular expressions.

  • v1.2.0
  • 39.83
  • Published

is-hexcolor

Check that given value is valid hex color, using `hex-color-regex` - the best regex for matching hex color values

  • v1.0.0
  • 39.52
  • Published

rollup-plugin-modify

Modify rollup output with find / replace dynamically

  • v3.0.0
  • 39.52
  • Published

github-username-regex

A regular expression that only matches a valid Github username

  • v1.0.0
  • 39.26
  • Published

@unicode/unicode-13.0.0

JavaScript-compatible Unicode data. Arrays of code points, arrays of symbols, and regular expressions for Unicode v13.0.0’s categories, scripts, blocks, bidi, and other properties.

  • v1.6.7
  • 38.88
  • Published

@dramaorg/delectus-culpa-reprehenderit

[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-im

  • v3.5.94
  • 38.85
  • Published

regex-emoji

A regex to match the :emoji: snippets in a string.

  • v2.0.9
  • 38.83
  • Published

string-search

Node module for searching multi-line string using regex

  • v1.2.0
  • 38.60
  • Published

re-tree

JavaScript Extended regular expression engine - client side, server side and 'angular side' ready.

  • v0.1.7
  • 38.51
  • Published

@unicode/unicode-16.0.0

JavaScript-compatible Unicode data. Arrays of code points, arrays of symbols, and regular expressions for Unicode v16.0.0’s categories, scripts, blocks, bidi, and other properties.

  • v1.6.7
  • 38.30
  • Published

@sutro-dev/route-parser

A isomorphic, bullet-proof, ninja-ready route parsing, matching, and reversing library for Javascript in Node and the browser.

  • v6.0.0
  • 38.10
  • Published

named-js-regexp

Extends JavaScript RegExp with named groups, backreferences and replacement.

  • v1.3.5
  • 38.04
  • Published

url-regexp

RegExp object to match and validate URL(s).

  • v1.0.2
  • 37.95
  • Published

gulp-delete-lines

A gulp plugin that will delete all lines that matches one of the given regex filters.

  • v0.0.7
  • 37.94
  • Published

domain-regex

A regular expression for valid domains.

  • v0.0.1
  • 37.68
  • Published

@esm2cjs/escape-string-regexp

Escape RegExp special characters. This is a fork of sindresorhus/escape-string-regexp, but with CommonJS support.

  • v5.0.0
  • 37.66
  • Published

typed-regex

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

  • v0.0.8
  • 37.32
  • Published

phone-regex

Regular expression for phone numbers.

  • v2.1.0
  • 37.18
  • Published

reregexp

Generate a random string match a given regular expression, suitable for mocking strings.

  • v1.6.1
  • 36.99
  • Published

is-match

Create a matching function from a glob pattern, regex, string, array, object or function.

  • v1.0.0
  • 36.98
  • Published

reges

A collection of regular expressions

  • v0.0.3
  • 36.94
  • Published

filter-values

Filter an object values using glob patterns or with a `callback` function returns true.

  • v0.4.1
  • 36.90
  • Published

email-regex-safe

Regular expression matching for email addresses. Maintained, configurable, more accurate, and browser-friendly alternative to email-regex. Works in Node v14+ and browsers. Made for Spam Scanner and Forward Email.

  • v4.0.0
  • 36.89
  • Published

@lvchengbin/escape

A simple library for escaping specical characters in strings for HTML, CSS, RegExp, String, URL.

  • v0.0.3
  • 36.57
  • Published

vuln-regex-detector

Detect vulnerable regexes by querying a service hosted at Virginia Tech.

  • v1.3.0
  • 36.56
  • Published

regexp-support

check RegExp ( regular expressions ) support

  • v1.0.59
  • 36.44
  • Published

filter-keys

Filter the keys of an object using glob patterns.

  • v1.1.0
  • 36.42
  • Published

rexreplace

Search & replace across files with a CLI tool that makes you trust what you are doing.

  • v7.1.13
  • 36.42
  • Published

get-css-urls

Get CSS urls from a string.

  • v1.0.1
  • 36.32
  • Published

regex-flags

Does one simple thing - gets the flags from a regular expression. Useful for cloning and any library that uses or generates regular expressions that are created from other regular expressions.

  • v0.1.0
  • 36.30
  • Published

delims

Generate RegExp for delimiters, to be used with templates, files or data streams.

  • v0.4.2
  • 36.30
  • Published

punycode-regex

A regex for matching punycode.

  • v1.0.1
  • 36.22
  • Published

gulp-regex-replace

Replace your code using regular expressions.

  • v0.2.3
  • 36.14
  • Published

cjk-conv

convert chinese, japanese 簡繁日漢字轉換 ( merge/split submodule from node-novel, regexp-cjk, str-util )

  • v1.2.150
  • 36.00
  • Published

escape-regex-string

Escapes a string literal for use as an argument in the standard RegExp constructor.

  • v1.0.6
  • 35.99
  • Published

diacritic-regex

String to a regex that is diacritic insensitive

  • v1.2.0
  • 35.93
  • Published

restream

Regular Expression Detection & Replacement streams.

  • v4.0.0
  • 35.87
  • Published

fast-find-in-files

fast-find-in-files recursively searches sub-directories for needle matches

  • v1.0.5
  • 35.79
  • Published

regex-combined-emojis

A regular expression that matches all emojis. Works in Javascript, .NET, and Java.

  • v1.6.0
  • 35.73
  • Published

regex-username

Regular expression for usernames - it follows the same rules that GitHub uses.

  • v2.0.0
  • 35.71
  • Published

@zitterorg/magni-eos

[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-im

  • v5.8.60
  • 35.48
  • Published

itty-router-extras

An assortment of delicious extras for the calorie-light itty-router.

  • v0.4.6
  • 35.27
  • Published

social-links

Validate & sanitize social links

  • v1.15.1
  • 35.12
  • Published

urlregex

URL validation for Node and the browser

  • v0.6.8
  • 34.58
  • Published

patterns

Match a string against a list of patterns

  • v1.0.3
  • 34.48
  • Published

oniguruma

oniguruma regular expression library

  • v7.2.3
  • 34.47
  • Published

@unicode/unicode-15.0.0

JavaScript-compatible Unicode data. Arrays of code points, arrays of symbols, and regular expressions for Unicode v15.0.0’s categories, scripts, blocks, bidi, and other properties.

  • v1.6.7
  • 34.38
  • Published

unicode-astral-regex

A regex to match astral symbols that supports unicode strings.

  • v1.0.1
  • 34.33
  • Published

word-regex

Regular expression for matching words in a string. Support for english, CJK and Cyrillic.

  • v0.1.2
  • 34.27
  • Published

css-groups

A JavaScript object of regular expressions that match CSS properties grouped by category.

  • v0.1.1
  • 34.25
  • Published

hashtag-regex

A regular expression to match hashtag identifiers as per the Unicode Standard.

  • v2.2.0
  • 34.25
  • Published

credit-card-regex

Regular expression for matching credit card numbers

  • v3.0.0
  • 34.11
  • Published

@unicode/unicode-15.1.0

JavaScript-compatible Unicode data. Arrays of code points, arrays of symbols, and regular expressions for Unicode v15.1.0’s categories, scripts, blocks, bidi, and other properties.

  • v1.6.7
  • 34.08
  • Published

newline-regex

Regex for newline characters

  • v0.2.1
  • 33.92
  • Published

regexp-cjk

Generate JavaScript-compatible regular expressions with chinese/jp/zh/cn

  • v3.3.117
  • 33.91
  • Published

eslint-plugin-redos-detector

An eslint plugin that detects vulnerable regex using "https://github.com/tjenkinson/redos-detector".

  • v3.1.1
  • 33.85
  • Published

stream-search-helper

Aids streams searching with string or regex delimiters.

  • v0.7.1
  • 33.51
  • Published

dotfile-regex

Regular expresson for matching dotfiles.

  • v1.0.2
  • 33.35
  • Published

regexp-range

create regex class range string `[一-十]` `[⓪-㊿]` ...

  • v2.0.7
  • 33.24
  • Published

wordcount

Count the words in a string. Support for english, CJK and Cyrillic.

  • v1.1.1
  • 33.15
  • Published

match-words

Match the words in a string. Support for english, CJK and Cyrillic.

  • v1.0.0
  • 32.99
  • Published

strapi-advanced-uuid

UUID field type support to Strapi with customizations

  • v2.1.1
  • 32.97
  • Published

onion-regex

Regular expression for matching .onion Tor links (v2 & v3).

  • v2.0.8
  • 32.97
  • Published

grunt-regex-replace

Grunt plugin to search and replace text content of files based on regular expression patterns

  • v0.4.0
  • 32.89
  • Published

non-ascii

Regular expression for matching non-ASCII characters

  • v2.0.0
  • 32.87
  • Published

regexp.execall

Array of RegExp.prototype.exec results

  • v1.0.2
  • 32.83
  • Published

youtube-regex

The correct Youtube video id regex! Regex done right!

  • v1.0.5
  • 32.76
  • Published

@unicode/unicode-14.0.0

JavaScript-compatible Unicode data. Arrays of code points, arrays of symbols, and regular expressions for Unicode v14.0.0’s categories, scripts, blocks, bidi, and other properties.

  • v1.6.7
  • 32.63
  • Published

mac-regex

A regular expression for MAC addresses.

  • v1.0.0
  • 32.60
  • Published

useful-handlebars-helpers

More than 150 Handlebars helpers in 17 categories. Works in browsers and in Node.js.

  • v0.12.0
  • 32.59
  • Published

@unicode/unicode-10.0.0

JavaScript-compatible Unicode data. Arrays of code points, arrays of symbols, and regular expressions for Unicode v10.0.0’s categories, scripts, blocks, bidi, and other properties.

  • v1.6.7
  • 32.53
  • Published

color-regex

Color regex. Easily check the format of any color. Use diverse color helpers available to verify any color.

    • v1.0.2
    • 32.45
    • Published

    stream-snitch

    Event emitter for watching text streams with regex patterns

    • v0.0.3
    • 32.31
    • Published

    regex-randstr

    A tool to generate random strings based on a regex pattern using TypeScript.

    • v0.0.6
    • 32.25
    • Published

    copyright-regex

    Regex for matching and parsing copyright statements.

    • v1.1.6
    • 32.17
    • Published

    parse-authors

    Parse a string into an array of objects with `name`, `email` and `url` properties following npm conventions. Useful for the `authors` property in package.json or for parsing an AUTHORS file into an array of authors objects.

    • v0.2.4
    • 32.13
    • Published

    available-regexp-flags

    Which regular expression flags does the current environment support?

    • v1.0.4
    • 32.00
    • Published

    rexrex

    Regex utils that rock!

      • v1.3.0
      • 31.97
      • Published

      wildcard-regex

      Super simple wildcard tools for generating string patterns and RegExp objects

      • v3.0.2
      • 31.93
      • Published

      floating-point-regex

      Regular expression for matching floating-point literals.

      • v0.1.0
      • 31.86
      • Published

      frep

      Find and replace utility for node.js. Transform strings by running multiple RegExp or string find-and-replace patterns on a string in sequence, reducing the final string to the accumulated result of each transformation. Patterns can be strings (or arrays

      • v0.2.3
      • 31.83
      • Published

      iz

      Validation for node and the web.

      • v3.0.0
      • 31.82
      • Published

      mentions-regex

      100% twitter compatible `@mentions` regex! Regular expression for matching `@username` mentions, as used on twitter, facebook, github, etc.

      • v2.0.3
      • 31.81
      • Published

      is-real-object

      Returns `true` if a value is any type of object, but not an array. Browserify-ready.

      • v1.0.2
      • 31.80
      • Published

      glob-path-regex

      Regular expression for matching the parts of glob pattern.

      • v1.0.0
      • 31.80
      • Published

      get-line-from-pos

      Get the line number of a string using index or position

      • v1.0.0
      • 31.65
      • Published

      recursive-search

      Recursively search a file in given directory from file name or RegExp

      • v1.0.1
      • 31.53
      • Published