string.prototype.matchall
Spec-compliant polyfill for String.prototype.matchAll
Found 2300 results for regexp
Spec-compliant polyfill for String.prototype.matchAll
Compile Unicode property escapes in Unicode regular expressions to ES5.
Generate regular expressions from regjsparser’s AST.
Recursively (deep) clone JavaScript native types, like Object, Array, RegExp, Date as well as primitives.
Compile regular expressions' unicodeSets (v) flag.
Generate JavaScript-compatible regular expressions based on a given set of Unicode symbols or code points.
Parse regular expressions' unicodeSets (v) flag.
Compile regular expressions using duplicate named groups to index-based groups.
Compile inline regular expression modifiers
Check if a string has ANSI escape codes
Regular expression parser for ECMAScript.
Tokenizes a string that represents a regular expression.
Fast, minimal glob matcher for node.js. Similar to micromatch, minimatch and multimatch, but complete Bash 4.3 wildcard support only (no support for exglobs, posix brackets or braces)
Match balanced character pairs, like "{" and "}"
Regular expression for matching IP addresses (IPv4 & IPv6)
Returns true if a filepath is a windows UNC file path.
Regular Expressions parser in JavaScript
Regular expression for testing if a file path is a windows UNC file path. Can also be used as a component of another regexp via the `.source` property.
Check if a value is a regular expression
Regular expression for getting the root of a posix or windows filepath.
Generate regular expressions from regjsparser’s AST.
Regular expression for matching semver versions
Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`
Regular expression for matching reserved filename characters
Create random strings that match a given regular expression.
Clean up regular expressions
Glob to regular expression with support for extended globs
Simple wildcard matching
Memoize the results of a call to the RegExp constructor, avoiding repetitious runtime compilation of the same string and options, resulting in surprising performance improvements.
Regular expression for matching file names, with or without extension.
Return true if a file path is (or has) a dotfile. Returns false if the path is a dot directory.
Returns true if the given string is a POSIX bracket expression (POSIX character class).
Convert Oniguruma patterns to native JavaScript RegExp
Extended regular expressions
The best regular expression (regex) for matching hex color values from string.
Parse a glob pattern into an object of tokens.
Regex for matching HSLA colors.
Regex for matching RGBA color strings.
dockerignore is a file filter library compatible with Docker and the node-ignore API
Returns true if a windows file path has invalid characters.
Regex template tag with extended syntax, context-aware interpolation, and always-on best practices
Regex for RGB color strings.
Regex for matching HSL colors.
Find multiple RegExp matches in a string
Cucumber Expressions - a simpler alternative to Regular Expressions
A very simple and stupid parser, based on a statemachine and regular expressions.
A library for analysing JS RegExp
A library to find JS RegExp with super-linear worst-case time complexity for attack strings that repeat a single character.
Make a regular expression time out if it takes too long to execute
Clone and modify a RegExp instance
Recursive matching plugin for Regex+
Regular expression for matching HTML comments
A library for finite automata and regular expressions in the context of JS RegExp
A regular expression to match all emoji-only symbols
A tiny (399B) utility that converts route patterns into RegExp. Limited alternative to `path-to-regexp` 🙇
Returns true if a file path does not contain any invalid characters.
Check if a string is an IP address
Make a synchronous function have a timeout
Parse, validate, traverse, transform, and optimize Oniguruma regular expressions
Regular expression for matching javascript require/import statements.
Regular expression for matching scoped npm package names
A tiny and extremely fast library for compiling and matching basic glob patterns
ESLint plugin for finding RegExp mistakes and RegExp style guide violations.
Check whether a RegExp flag is supported
Parse an author, contributor, maintainer or other 'person' string into an object with name, email and url properties following npm conventions.
Regular expression for parsing an `author` string into an object following npm conventions.
Escape a regular expression string or pattern.
Parse parentheses from a string
Return a regular expression to capture a function name.
Replace search occurrences with a replacement string.
Regular expression to detect an extended-length path.
Test if a value is a regular expression string.
Return a regular expression to parse a regular expression string.
Test if a value is a regular expression.
Create a regular expression from a regular expression string.
Return a regular expression to match a newline character sequence.
Strip ANSI color codes from a string. No dependencies.
Array extras for regular expressions
Quickly parse & match URLs
A regular expression that matches a CHANGELOG filename
Utilities to get and check variable types (isString, isPlainObject, isRegExp, etc)
Escape regular expression special characters
Transform GLOB patterns to JavaScript regular expressions for fast file path matching.
Regular expression for matching CSS urls.
Tiny glob->regex converter
Regular expression for matching issue references
A utility to compile browserslist query to a RegExp to test browser useragent.
A source code transpiler that enables the use of ES2015 Unicode regular expressions in ES5.
Regex to validate that a URL is a git url.
A string manipulation toolbox, featuring a string formatter (inspired by sprintf), a variable inspector (output featuring ANSI colors and HTML) and various escape functions (shell argument, regexp, html, etc).
Dependency-free request URI matcher
Converts PCRE regexp strings to JavaScript RegExp instances
A lite useragent regexes collection.
Regular expression for matching JavaScript identifiers
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.
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.
Escape RegExp special characters
Simple, flexible file copy utility
Provides a regex that can be used to test if a string is a valid NPM package name.
Regular expression for matching npm organization names
Cross browser String#split implementation
Weapon regeX mutates regular expressions for use in mutation testing.
Get the YouTube, Vimeo, Vine, VideoPress, TikTok, Microsoft Stream, Loom or Dailymotion video id from a url or embed string.
Regexp-like string matcher.
Check if a string is an IP address
Asynchronous String.prototype.replace()
Covert Oniguruma-flavor Regexp to JavaScript native RegExp
ESLint rules using Regular Expression
Google's RE2 library distributed as a WASM module
Escape regular expression special characters
Create regex for template delimiters.
The trustworthy ReDoS checker
Check if a string is a valid filename
Micro parser for detection of literal regexes
Optimized and powerful regexes for JavaScript
Replace search occurrences with a replacement string.
match capture groups and return index
Tagged template string regular expression compiler.
Bash-powered globbing for node.js
Quickly parse & match URLs
Human-friendly replacements.
Regular expressions for various Unicode character classes extracted from XRegExp
A fork of `recursive-copy`: Simple, flexible file copy utility
Regular expression for matching javascript require statements.
A collection of regular expressions to match color syntax substrings from a text
Regular expression for matching email addresses
Copy or deep clone a value to an arbitrary depth.
Parses a regular expression string and returns a new regular expression.
Regular expression to parse a regular expression string.
ESLint plugin for catching ReDoS vulnerability
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.
Replace text patterns with applause.
Copy or deep clone a value to an arbitrary depth.
Express style path to RegExp utility
RegExp for gfm (GitHub Flavored Markdown) fenced code blocks.
Extract gfm (GitHub Flavored Markdown) fenced code blocks from a string.
A tiny function for escaping a string to be used as the source in a regex.
Regular expressions.
Regular expression parser for ECMAScript.
An extremely fast and lightweight glob-matching library with advanced features
🐊Putout plugin helps with regexp
Regular expression for matching es6 template delimiters in a string.
Regular expression for matching JavaScript comments
rollup replace plugin
Lightweight http server statically configurable using regular expressions
Replace text patterns with applause.
Human-friendly replacements.
Filters file paths using globs, regular expressions, or custom criteria
Replace special characters to their simple characters
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.
Replace text patterns with applause.
Regex for matching dot-directories, like `.git/`
Replace text patterns with applause.
Replace matching strings and regexes in files
Sorting and matching utility using configurable string, glob, regular expression, and/or function matchers
🐊Putout operator adds ability to check if provided regexp can be converted to string without losing it's sense
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.
Modify rollup output with find / replace dynamically
Check that given value is valid hex color, using `hex-color-regex` - the best regex for matching hex color values
A regular expression that only matches a valid Github username
Utilities for manipulating regular expressions
[![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
JavaScript Extended regular expression engine - client side, server side and 'angular side' ready.
A simple utility to check if a string is an ISO-compliant date.
Next JavaScript Object Notation
Converts Python-like (re) regular expressions to JavaScript RegExp instances
Escapes special characters in a string, for matching substrings with a RegExp instance.
Escape RegExp special characters. This is a fork of sindresorhus/escape-string-regexp, but with CommonJS support.
A simple library for escaping specical characters in strings for HTML, CSS, RegExp, String, URL.
Extends JavaScript RegExp with named groups, backreferences and replacement.
A regular expression for valid domains.
Provides RegExp.escape function for quoting text for a regular expression.
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.
Regexp for data-uri
check RegExp ( regular expressions ) support
Validates and converts Cucumber JSON for different Cucumber implementations and versions
Generate a random string match a given regular expression, suitable for mocking strings.
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.
A parser combinator library like Parsec.
ESLint rules to disallow unsafe regular expressions.
Search & replace across files with a CLI tool that makes you trust what you are doing.
Regex to match a percentage value
regexp-helper
搜尋字串用的漢字貪婪轉換表
簡繁日 共通字/轉換表
轉換 簡繁日 當中共通的 漢字
Check Any file with ESLint
Create a matching function from a glob pattern, regex, string, array, object or function.
## 繁簡轉換對應表
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.
\Q..\E (quotemeta) support for XRegExp
Regular Expression Detection & Replacement streams.
Get CSS urls from a string.
convert chinese, japanese 簡繁日漢字轉換 ( merge/split submodule from node-novel, regexp-cjk, str-util )
regexp-helper-core
Regular expression for usernames - it follows the same rules that GitHub uses.
Generate RegExp for delimiters, to be used with templates, files or data streams.
簡繁轉換表
A regular expression that matches all emojis. Works in Javascript, .NET, and Java.
Validate & sanitize social links
oniguruma regular expression library
find require calls from string using regexp
日文五十音轉換表
Regular expression for matching words in a string. Support for english, CJK and Cyrillic.
A regular expression to match hashtag identifiers as per the Unicode Standard.
Match a string against a list of patterns
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.
Turn a path string such as /user/:id or /user/:id(\d+) into a regular expression
Regular expression based version read/write plugin for release-it
Generate JavaScript-compatible regular expressions with chinese/jp/zh/cn
Which regular expression flags does the current environment support?
Regular expresson for matching dotfiles.
create regex class range string `[一-十]` `[⓪-㊿]` ...
Escape RegExp special characters
Regular expression parser for ECMAScript 2018.
RegExp AST Parser
## API
Extended regular expressions
Grunt plugin to search and replace text content of files based on regular expression patterns
Custom delimiters, for Handlebars templates.
Array of RegExp.prototype.exec results
Count the words in a string. Support for english, CJK and Cyrillic.
Regular expression for matching non-ASCII characters
Match the words in a string. Support for english, CJK and Cyrillic.
JavaScript RegExp doesn't work with Unicode characters out of the box. This small package fixes this issue. This is \p{L} equalent extracted from XRegExp.
A batch string/regexp replace plugin for gulp
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.
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.
Regex for matching and parsing copyright statements.
The correct Youtube video id regex! Regex done right!
A regular expression for MAC addresses.
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.
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
Regular expression for matching the parts of glob pattern.
100% twitter compatible `@mentions` regex! Regular expression for matching `@username` mentions, as used on twitter, facebook, github, etc.
Validates given IPs (IPv4 and IPv6) using [micromatch][] - glob patterns, RegExp, string or array of globs. If match returns the IP, otherwise null.
Similar to str.replace(regex, replace) but with sourcemap support
Regular expressions with named capture groups and named back-references
Regular expression which matches a string with no 4-byte characters
A utility vite plugin to compile browserslist query to a RegExp to test browser useragent.
A Regex-Based Transpiler Of Source Code To Allow Writing Import And Export Statements And JSX With 0 Dependencies.
A LitElement Router (1278 bytes gzip) that uses JavaScript Mixin, Decorators and RegExp.
Enables modern RegExp features in JavaScript