ansi-regex
Regular expression for matching ANSI escape codes
Found 2304 results for regexp
Regular expression for matching ANSI escape codes
A regular expression to match all Emoji-only symbols as per the Unicode Standard.
Escape RegExp special characters
Tiny JavaScript tokenizer.
Match balanced character pairs, like "{" and "}"
Express style path to RegExp utility
Pass two numbers, get a regex-compatible source string for matching ranges. Validated against more than 2.78 million test assertions.
Matches strings against configurable strings, globs, regular expressions, and/or functions
Regular expression for matching a shebang line
Ignore is a manager and filter for .gitignore rules, the one used by eslint, gitbook and many others.
Give a regex, get a robust predicate function that tests it against a string.
Get the native type of a value.
Glob matching for javascript/node.js. A replacement and faster alternative to minimatch and multimatch.
ES6 spec-compliant RegExp.prototype.flags shim.
Regular expression parser for ECMAScript.
Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag
Generate JavaScript-compatible regular expressions based on a given set of Unicode symbols or code points.
Compile Unicode property escapes in Unicode regular expressions to ES5.
Compile regular expressions using named groups to ES5.
Compile regular expressions using the `s` (`dotAll`) flag to ES5.
regexpu’s core functionality (i.e. `rewritePattern(pattern, flag)`), capable of translating ES6 Unicode regular expressions to ES5.
Recursively (deep) clone JavaScript native types, like Object, Array, RegExp, Date as well as primitives.
Convert globs to regular expressions
Generate regular expressions from regjsparser’s AST.
Parse regular expressions' unicodeSets (v) flag.
Compile regular expressions' unicodeSets (v) flag.
Compile regular expressions using duplicate named groups to index-based groups.
Spec-compliant polyfill for String.prototype.matchAll
Regular expression parser for ECMAScript.
Match balanced character pairs, like "{" and "}"
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)
Regular Expressions parser in JavaScript
Compile inline regular expression modifiers
Regular expression for matching IP addresses (IPv4 & IPv6)
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 string has ANSI escape codes
Returns true if a filepath is a windows UNC file path.
Check if a value is a regular expression
Generate regular expressions from regjsparser’s AST.
Clean up regular expressions
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
Glob to regular expression with support for extended globs
Regular expression for getting the root of a posix or windows filepath.
Create random strings that match a given regular expression.
Simple wildcard matching
Convert Oniguruma patterns to native JavaScript RegExp
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.
Parse a glob pattern into an object of tokens.
Regular expression for matching file names, with or without extension.
Regex for RGB color strings.
Regex for matching HSL colors.
dockerignore is a file filter library compatible with Docker and the node-ignore API
Regex for matching RGBA color strings.
Regex for matching HSLA colors.
Extended regular expressions
The best regular expression (regex) for matching hex color values from string.
Find multiple RegExp matches in a string
Returns true if the given string is a POSIX bracket expression (POSIX character class).
Transform GLOB patterns to JavaScript regular expressions for fast file path matching.
Returns true if a windows file path has invalid characters.
Regex template tag with extended syntax, context-aware interpolation, and always-on best practices
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.
Cucumber Expressions - a simpler alternative to Regular Expressions
A very simple and stupid parser, based on a statemachine and regular expressions.
Return true if a file path is (or has) a dotfile. Returns false if the path is a dot directory.
Check if a string is an IP address
Recursive matching plugin for Regex+
Clone and modify a RegExp instance
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.
Make a synchronous function have a timeout
A library for finite automata and regular expressions in the context of JS RegExp
Make a regular expression time out if it takes too long to execute
A regular expression to match all emoji-only symbols
Regular expression for matching javascript require/import statements.
A tiny and extremely fast library for compiling and matching basic glob patterns
Regular expression for matching scoped npm package names
Parse, validate, traverse, transform, and optimize Oniguruma regular expressions
Regular expression for matching HTML comments
ESLint plugin for finding RegExp mistakes and RegExp style guide violations.
Regular expression for parsing an `author` string into an object following npm conventions.
Parse an author, contributor, maintainer or other 'person' string into an object with name, email and url properties following npm conventions.
Check whether a RegExp flag is supported
Test if a value is a regular expression.
Escape a regular expression string or pattern.
Create a regular expression from a regular expression string.
Return a regular expression to match a newline character sequence.
Parse parentheses from a string
Test if a value is a regular expression string.
Regular expression to detect an extended-length path.
Return a regular expression to parse a regular expression string.
Quickly parse & match URLs
Return a regular expression to capture a function name.
Replace search occurrences with a replacement string.
A regular expression that matches a CHANGELOG filename
Strip ANSI color codes from a string. No dependencies.
Array extras for regular expressions
Utilities to get and check variable types (isString, isPlainObject, isRegExp, etc)
Regular expression for matching CSS urls.
Tiny glob->regex converter
Escape regular expression special characters
Regex to validate that a URL is a git url.
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.
Provides a regex that can be used to test if a string is a valid NPM package name.
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.
Dependency-free request URI matcher
A lite useragent regexes collection.
Weapon regeX mutates regular expressions for use in mutation testing.
Escape RegExp special characters
A source code transpiler that enables the use of ES2015 Unicode regular expressions in ES5.
Regular expression for matching issue references
Simple, flexible file copy utility
Cross browser String#split implementation
Converts PCRE regexp strings to JavaScript RegExp instances
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).
A utility to compile browserslist query to a RegExp to test browser useragent.
Regexp-like string matcher.
Google's RE2 library distributed as a WASM module
Regular expression for matching JavaScript identifiers
Asynchronous String.prototype.replace()
Regular expression for matching npm organization names
Get the YouTube, Vimeo, Vine, VideoPress, TikTok, Microsoft Stream, Loom or Dailymotion video id from a url or embed string.
ESLint rules using Regular Expression
Check if a string is an IP address
The trustworthy ReDoS checker
Replace search occurrences with a replacement string.
Create regex for template delimiters.
Check if a string is a valid filename
Optimized and powerful regexes for JavaScript
A fork of `recursive-copy`: Simple, flexible file copy utility
Micro parser for detection of literal regexes
Tagged template string regular expression compiler.
Quickly parse & match URLs
Escape regular expression special characters
match capture groups and return index
Human-friendly replacements.
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
Bash-powered globbing for node.js
A tiny function for escaping a string to be used as the source in a regex.
Regular expressions.
Copy or deep clone a value to an arbitrary depth.
Parses a regular expression string and returns a new regular expression.
Replace text patterns with applause.
Regular expressions for various Unicode character classes extracted from XRegExp
Regular expression to parse a regular expression string.
Extract gfm (GitHub Flavored Markdown) fenced code blocks from a string.
Express style path to RegExp utility
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.
Copy or deep clone a value to an arbitrary depth.
ESLint plugin for catching ReDoS vulnerability
An extremely fast and lightweight glob-matching library with advanced features
Replace text patterns with applause.
Regular expression parser for ECMAScript.
RegExp for gfm (GitHub Flavored Markdown) fenced code blocks.
Regular expression for matching JavaScript comments
🐊Putout plugin helps with regexp
Regular expression for matching es6 template delimiters in a string.
Human-friendly replacements.
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.
Replace matching strings and regexes in files
Lightweight http server statically configurable using regular expressions
A regular expression that only matches a valid Github username
Regex for matching dot-directories, like `.git/`
Replace text patterns with applause.
Replace special characters to their simple characters
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.
Sorting and matching utility using configurable string, glob, regular expression, and/or function matchers
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.
🐊Putout operator adds ability to check if provided regexp can be converted to string without losing it's sense
Utilities for manipulating regular expressions
rollup replace plugin
Provides RegExp.escape function for quoting text for a regular expression.
Escape RegExp special characters. This is a fork of sindresorhus/escape-string-regexp, but with CommonJS support.
Filters file paths using globs, regular expressions, or custom criteria
[![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
Modify rollup output with find / replace dynamically
JavaScript Extended regular expression engine - client side, server side and 'angular side' ready.
A simple library for escaping specical characters in strings for HTML, CSS, RegExp, String, URL.
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.
A simple utility to check if a string is an ISO-compliant date.
Escapes special characters in a string, for matching substrings with a RegExp instance.
oniguruma regular expression library
check RegExp ( regular expressions ) support
Next JavaScript Object Notation
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.
Check Any file with ESLint
Regex to match a percentage value
搜尋字串用的漢字貪婪轉換表
ESLint rules to disallow unsafe regular expressions.
\Q..\E (quotemeta) support for XRegExp
Extends JavaScript RegExp with named groups, backreferences and replacement.
Converts Python-like (re) regular expressions to JavaScript RegExp instances
regexp-helper
## 繁簡轉換對應表
Check that given value is valid hex color, using `hex-color-regex` - the best regex for matching hex color values
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.
轉換 簡繁日 當中共通的 漢字
Validates and converts Cucumber JSON for different Cucumber implementations and versions
Create a matching function from a glob pattern, regex, string, array, object or function.
簡繁日 共通字/轉換表
A parser combinator library like Parsec.
Regexp for data-uri
Regular expression for usernames - it follows the same rules that GitHub uses.
convert chinese, japanese 簡繁日漢字轉換 ( merge/split submodule from node-novel, regexp-cjk, str-util )
簡繁轉換表
Generate RegExp for delimiters, to be used with templates, files or data streams.
Validate & sanitize social links
find require calls from string using regexp
日文五十音轉換表
Regular Expression Detection & Replacement streams.
regexp-helper-core
Generate a random string match a given regular expression, suitable for mocking strings.
A regular expression for valid domains.
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.
A regular expression to match hashtag identifiers as per the Unicode Standard.
A regular expression that matches all emojis. Works in Javascript, .NET, and Java.
Regular expression for matching words in a string. Support for english, CJK and Cyrillic.
Search & replace across files with a CLI tool that makes you trust what you are doing.
a lightweight package with no user dependecies that allows users to chain a verbose function to create a Regular Expression. It can also be used to create a verbose version of an existing regular expression for reference
Generate JavaScript-compatible regular expressions with chinese/jp/zh/cn
Turn a path string such as /user/:id or /user/:id(\d+) into a regular expression
Get CSS urls from a string.
RegExp AST Parser
Regular expression parser for ECMAScript 2018.
create regex class range string `[一-十]` `[⓪-㊿]` ...
Google's RE2 library distributed as a WASM module patched by AdGuard.
## API
A batch string/regexp replace plugin for gulp
A utility vite plugin to compile browserslist query to a RegExp to test browser useragent.
JavaScript-compatible Unicode data. Arrays of code points, arrays of symbols, and regular expressions for Unicode v6.1.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 v10.0.0’s categories, scripts, blocks, bidi, and other properties.
Similar to str.replace(regex, replace) but with sourcemap support
Escape RegExp special characters
Grunt plugin to search and replace text content of files based on regular expression patterns
Which regular expression flags does the current environment support?
A set of functions to build and compose complex regular expressions