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