ansi-regex
Regular expression for matching ANSI escape codes
Found 131 results for re
Regular expression for matching ANSI escape codes
Regular expression for matching IP addresses (IPv4 & IPv6)
Regular expression for matching HTML comments
Regular expression for matching javascript require/import statements.
Regular expression for parsing an `author` string into an object following npm conventions.
Sort the keys in an object.
Return a regular expression to capture a function name.
Return the real and imaginary components of a double-precision complex floating-point number.
Return a regular expression to match a newline character sequence.
Parse an author, contributor, maintainer or other 'person' string into an object with name, email and url properties following npm conventions.
Regular expression to detect an extended-length path.
Return a regular expression to parse a regular expression string.
Return the real and imaginary components of a single-precision complex floating-point number.
Strip ANSI color codes from a string. No dependencies.
Regular expression for matching XML NCName
Regular expression for matching javascript require statements.
Return the real and imaginary components of a double-precision complex floating-point number.
Extract gfm (GitHub Flavored Markdown) fenced code blocks from a string.
RegExp for gfm (GitHub Flavored Markdown) fenced code blocks.
Return the real and imaginary components of a single-precision complex floating-point number.
Return the imaginary component of a double-precision complex floating-point number.
Return the imaginary component of a single-precision complex floating-point number.
Return the real component of a double-precision complex floating-point number.
Return the real component of a single-precision complex floating-point number.
check RegExp ( regular expressions ) support
Sort an object's keys, including an optional key list
regexp-helper-core
Generate RegExp for delimiters, to be used with templates, files or data streams.
regexp-helper
Return the real component of a double-precision complex floating-point number.
Generate JavaScript-compatible regular expressions with chinese/jp/zh/cn
Regular Expression Detection & Replacement streams.
Return the imaginary component of a double-precision complex floating-point number.
RegExp AST Parser
oniguruma regular expression library
Custom delimiters, for Handlebars templates.
create regex class range string `[一-十]` `[⓪-㊿]` ...
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.
## API
Array of RegExp.prototype.exec results
Regular expression to match a semantic version string.
Get the line number for each regex match found in a string.
A JavaScript package to return captured groups of a regular expression as an object.
Regular expression for matching DOIs
Strip ANSI colors, attributes from a string
Regular expression for matching IP addresses (IPv4 & IPv6). This is a fork of sindresorhus/ip-regex, but with CommonJS support.
Special RegExp characters, useful for escaping.
Match require statements in a string. Returns an array of matching require statements. Each match is an object with line number, variable name, and module name. Statements in code comments are ignored.
Function regex. Regular expression for matching function parts. Expose match groups for function name, arguments and function body.
Easily replace and transform :props in strings.
Sort the keys in an object.
Return the real component of a single-precision complex floating-point number.
Return the imaginary component of a single-precision complex floating-point number.
Convert a Regular Expression from one flavour to another.
Regular expression for matching IP:PORT addresses
Return a regular expression to match a white space character.
Escape and un-escape delimiters in templates. Tested with Lo-Dash, underscore and Handlebars syntax, but could be used with other template engines/syntaxes as well. This is similar to the process used by Yeoman on escaped templates in generators.
Return a regular expression to match an unpaired UTF-16 surrogate.
remove zero-width and some other util about space
Cleanup ugly code added by code coverage tools during the test process. Like this one `__cov_Ejgcx$XN18CSfmeWn$f7vQ.f['2']++;`.
Regular expression (regex) for matching ugly code that coverage tools add during the test process. Like this one `__cov_Ejgcx$XN18CSfmeWn$f7vQ.f['2']++;`
Find multiple RegExp matches in a string
Return a regular expression to capture the last part of a POSIX path.
capable of translating Unicode regular expressions
Return a regular expression to capture the last part of a Windows path.
zhRegExp from all plugin enabled with unsafe options
Regular expression helper
A regular expression library for node.js
Common regular expressions
Return a regular expression to capture a POSIX filename extension.
Return a regular expression to capture a Windows path dirname.
Return a regular expression to capture a POSIX path dirname.
百度貼吧 關鍵字 和諧/反和諧 unescape / escape tieba harmony keywords
Return a regular expression to capture a Windows filename extension.
Return a regular expression to capture a filename extension.
node-novel core module
Return a regular expression to capture a path dirname.
oniguruma regular expression library
Quickly rename files using NodeJS
node-novel core module
Return a regular expression to match a UTF-16 surrogate pair.
oniguruma regular expression library
oniguruma regular expression library
Return a regular expression to match a native function.
Bind context to a function and preserves her name. Can be used to change name of a function. The toString also works correctly.
Return a regular expression to parse a UNC path.
Return a regular expression to split a POSIX filename.
Zerda.js Runtime Environment | Cross-platform | Modular | Wide GPU support
Check if a string has ANSI escape codes
Simple Regex Language
Remove special characters in RegExp
Query information from the Digital im Regio portal in German Regio trains.
Return a regular expression to capture the last part of a path.
Functions for fantastically fast file filtering, and more things that start with 'f'.
Return a regular expression to split a Windows filename.
Extract a string in the given range (e.g. from line X to line Y).
Return a JSON representation of a regular expression.
oniguruma regular expression library
Revive a JSON-serialized regular expression.
Python-compatible regular expressions for TypeScript/JavaScript, mirroring Python's re/regex API.
Build regular expression groups from arrays of strings. Useful when you need to automatically generate RegExp patterns.
A require/browserify plug-in for free-space regular expression files.
This package provides a nifty way to match against regular expressions. Construct objects and match against regular expressions.
Template literal types for regular expression capturing groups
Sort an Object or package.json based on the well-known package.json keys
Regular expression to match a duration string.
Return `true` if a file extension matches the given string, array of strings, or RegExp pattern.
Return a regular expression to match a hexadecimal color.
Forcibly re-render a component from anywhere through React hooks.
Regex Chain - A new method for regular expressions
Clone and modify a RegExp instance, including removing, prepending, appending & replacing the source
Return a regular expression to match a decimal number.
Regex Parser (fork from regexp)
Replace only specific occurrences of a string. e.g. if the string exists 10 times, you can replace, say, the 3rd and 8th occurrences only, etc. Returns a new string with nth specific matches of a pattern replaced by a replacement. The pattern can be a str
Match require statements in a glob of files. Returns an an object files, each with an array of objects describing each require statement found. Each require statement object has a line number, variable name, and module name. Statements in code comments ar
for practice
RegExp API for Humans!
Regular expression for matching non conditional HTML comments
Custom delimiters, for Handlebars templates.
Bucklescript and ReasonML GraphQL Schema Parser / Serializer
Regular expression for matching ANSI escape codes
REXS is a language for creating regular expressions. This library can compile REXS to a regular expression.
Format regex with string substitutions
oniguruma regular expression library
A TypeScript library providing a Python-like regex interface with automatic backend selection
Custom delimiters, for Handlebars templates. Includes greedy patch.
Return a regular expression to split a filename.
Strip comments from code. Removes line comments, block comments, the first comment only, or all comments. Optionally leave protected comments unharmed.
A simple package to extract multiple named-matches from a larger text via regular expressions.
A simple CLI utility to generate the required files to get you up and running with [ReScript](https://rescript-lang.org/).