xp
Command line regular expression search and replace
Found 3042 results for regex replace
Command line regular expression search and replace
Regular expression for matching ANSI escape codes
A regular expression to match all Emoji-only symbols as per the Unicode Standard.
Modify rollup output with find / replace dynamically
Use regular expressions to replace things in strings!
Escape RegExp special characters
Fill in a range of numbers or letters, optionally passing an increment or `step` to use, or create a regex-compatible range with `options.toRegex`
Ignore is a manager and filter for .gitignore rules, the one used by eslint, gitbook and many others.
Pass two numbers, get a regex-compatible source string for matching ranges. Validated against more than 2.78 million test assertions.
Glob matching for javascript/node.js. A replacement and faster alternative to minimatch and multimatch.
Regular expression for matching a shebang line
Temporarily substitute tokens in the given `string` with placeholders, then put them back after transforming the string.
Returns `true` if the given string looks like a glob pattern or an extglob pattern. This makes it easy to create code that only uses external modules like node-glob when necessary, resulting in much faster code execution and initialization time, and a bet
Tiny JavaScript tokenizer.
Returns true if a string has an extglob.
Matches strings against configurable strings, globs, regular expressions, and/or functions
ES6 spec-compliant RegExp.prototype.flags shim.
Give a regex, get a robust predicate function that tests it against a string.
Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag
Returns true if a value is a plain object, array or function.
A regex to match any full character, considering weird character ranges.
Compile regular expressions using the `s` (`dotAll`) flag to ES5.
Regular expression for matching astral symbols
Compile regular expressions using named groups to ES5.
regexpu’s core functionality (i.e. `rewritePattern(pattern, flag)`), capable of translating ES6 Unicode regular expressions to ES5.
Spec-compliant polyfill for String.prototype.matchAll
Generate regular expressions from regjsparser’s AST.
Compile regular expressions' unicodeSets (v) flag.
Compile Unicode property escapes in Unicode regular expressions to ES5.
Generate JavaScript-compatible regular expressions based on a given set of Unicode symbols or code points.
Recursively (deep) clone JavaScript native types, like Object, Array, RegExp, Date as well as primitives.
Find and replace strings or template outputs in text files (CLI tool designed for use in npm package.json scripts)
Compile regular expressions using duplicate named groups to index-based groups.
Parse regular expressions' unicodeSets (v) flag.
Tokenizes a string that represents a regular expression.
Extended glob support for JavaScript. Adds (almost) the expressive power of regular expressions to glob patterns.
detect possibly catastrophic, exponential-time regular expressions
Compile inline regular expression modifiers
Check if a string has ANSI escape codes
Generate a regex from a string or array of strings.
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)
Human-friendly replacements.
Replace every character in a string with h.
Check if a value is a regular expression
Create a javascript regular expression for matching everything except for the given string.
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.
Returns true if a filepath is a windows UNC file path.
Perform multiple str.replace() with one operation
Generate regular expressions from regjsparser’s AST.
Regular expression for getting the root of a posix or windows filepath.
Glob to regular expression with support for extended globs
Regular expression for matching semver versions
Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`
Find and replace text in github file
Create random strings that match a given regular expression.
Clean up regular expressions
Updates a section inside a file with newer content while removing the old content.
A library for teleporting rich data to another place.
Traverse object hierarchies using matching and callbacks.
Like `string.replace`, but with asynchronous, concurrent replacement.
Simple wildcard matching
Extended regular expressions
detect possibly catastrophic, exponential-time regular expressions
gets the package name for a require statement
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.
Regex for matching HSLA colors.
Regex for matching RGBA color strings.
Return true if a file path is (or has) a dotfile. Returns false if the path is a dot directory.
Returns an object with the (non-glob) base path and the actual pattern.
A text replacement command line utility with dry-run, mapping, and regex support.
Returns true if the given string is a POSIX bracket expression (POSIX character class).
Replace text patterns with applause.
The best regular expression (regex) for matching hex color values from string.
Parse a glob pattern into an object of tokens.
Return true if a file path contains the given path.
Convert Oniguruma patterns to native JavaScript RegExp
Returns true if a windows file path has invalid characters.
Regex for RGB color strings.
Regex for matching HSL colors.
Cucumber Expressions - a simpler alternative to Regular Expressions
Spec-compliant polyfill for String.prototype.replaceAll ESnext proposal
dockerignore is a file filter library compatible with Docker and the node-ignore API
Clone and modify a RegExp instance
Regex template tag with extended syntax, context-aware interpolation, and always-on best practices
Recursive matching plugin for Regex+
Parse a github URL into an object.
🌈 Light, fast, and easy to use, dependencies free javascript syntax highlighter, with automatic language detection
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
Returns true if a file path does not contain any invalid characters.
Make a synchronous function have a timeout
Regular expression for matching HTML comments
A library for finite automata and regular expressions in the context of JS RegExp
Regular expression for matching javascript require/import statements.
A regular expression to match all emoji-only symbols
Check if a string is an IP address
Returns true if the value passed is all whitespace.
Parse, validate, traverse, transform, and optimize Oniguruma regular expressions
Regular expression for matching scoped npm package names
Returns `true` if an array has a glob pattern.
ESLint plugin for finding RegExp mistakes and RegExp style guide violations.
Basic Find and Replace functionality for Markdown It via Regex. Great for build-process text expanders
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.
Recursive find and replace command line utility
Check whether a RegExp flag is supported
Human-friendly replacements.
Escape a regular expression string or pattern.
Create a regular expression from a regular expression string.
Strings decorator (by regex) with: React components, HTML tags etc.
Return a regular expression to capture a function name.
Return a regular expression to match a newline character sequence.
Test if a value is a regular expression string.
Regular expression for matching URLs
Emojibase utility functions for working with emoji characters.
Test if a value is a regular expression.
Regular expression to detect an extended-length path.
MCP server for refactoring tools
Type-Level RegExp parser, matcher and permutation resolver
easier than regex string matching patterns for urls and other strings. turn strings into data or data into strings.
Return a regular expression to parse a regular expression string.
A collection of utilities for emojis
Evergreen emoji regex patterns.
Strip ANSI color codes from a string. No dependencies.
Array extras for regular expressions
Hash map of country ISO-3 codes to regular expression identifiers
Split a piece text into multiple chunks based on a search query, allowing you to highlight the matches.
Generates an anchor for a markdown header.
A regular expression that matches a CHANGELOG filename
Utilities to get and check variable types (isString, isPlainObject, isRegExp, etc)
Extract gfm (GitHub Flavored Markdown) fenced code blocks from a string.
Regular expression for matching CSS urls.
RegExp for gfm (GitHub Flavored Markdown) fenced code blocks.
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.
Tiny glob->regex converter
Regular expression for matching issue references
Regex to validate that a URL is a git url.
Transform GLOB patterns to JavaScript regular expressions for fast file path matching.
A source code transpiler that enables the use of ES2015 Unicode regular expressions in ES5.
A lite useragent regexes collection.
Regular expression for matching JavaScript identifiers
Regular expressions for matching against the XML Character Classes
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.
The magical sticky regex-based parser generator 🧙
Escape RegExp special characters
Regular expression for matching XML NCName
A robust ES3-compatible polyfill for the `RegExp.escape` proposal - see https://github.com/tc39/proposal-regex-escaping
Simple, flexible file copy utility
Provides a regex that can be used to test if a string is a valid NPM package name.
JavaScript APG, an ABNF Parser Generator
Optimize regex literals
Escapes input characters to be used in regular expressions.
Find and replace text in github file in all repositories
Regular expression for matching npm organization names
Weapon regeX mutates regular expressions for use in mutation testing.
Covert Oniguruma-flavor Regexp to JavaScript native RegExp
Check if a string is an IP address
ESLint rules using Regular Expression
Get all the matches for a regular expression in a string.
UUID check for Node and the browser
Create regex for template delimiters.
Replace text patterns with a given replacement.
Check if a string is a valid filename
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.
A tiny (349B) utility to rewrite `import` statements as `require()`s; via RegExp
Maintainable regular expressions for TypeScript and JavaScript.
Change the contents of multiple files
Micro parser for detection of literal regexes
regex replacements using asynchronous callback functions
Tagged template string regular expression compiler.
Bash-powered globbing for node.js
utilities for generating regular expression
A tiny, PEG-like system for building language grammars with regexes.
XML Schema pattern (regular expression) matcher
A JavaScript package to return captured groups of a regular expression as an object.
WebAssembly port of Oniguruma regex library
A fork of `recursive-copy`: Simple, flexible file copy utility
Regular expressions for various Unicode character classes extracted from XRegExp
A isomorphic, bullet-proof, ninja-ready route parsing, matching, and reversing library for Javascript in Node and the browser.
Regular expression for matching javascript require statements.
standalone module to replace a string in a file
Transform a string with an array of replacement patterns.
Generate regular expressions that match a set of strings
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
A collection of regular expressions to match color syntax substrings from a text
Regular expression based version read/write plugin for release-it
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.
Parses a regular expression string and returns a new regular expression.
Regular expression for matching email addresses
Regular expression to parse a regular expression string.
Regular expression for matching CSS @imports
escape regular expression characters
A tool to enable the checking, inserting and removal of licenses
Aids streams searching with string or regex delimiters.
A gulp plugin to remove parts of code based on regular expressions.
A tiny function for escaping a string to be used as the source in a regex.
Regexp acceptor for ECMAScript 2018
A CLI and library which tests helps score how vulnerable a regex pattern is to ReDoS attacks. Supported in the browser, Node and Deno.
a regular expression that matches all the surrogate pairs and combining-marked characters in a string
Regular expressions.
Custom delimiters, for Handlebars templates.
Regular Expression Detection & Replacement streams.
bump RegEx with semver
Regular expression for matching es6 template delimiters in a string.
Censor or highlight words and other patterns intelligently.
Regular expression for matching JSDoc comment blocks and the code below them.
Regular expression for matching JavaScript comments
Replace patterns in strings by arbitrary objects
Obfuscate your code.
Regular expression for matching HTML empty conditional comments
Easy and small template engine for the browser and nodejs.
Generates an anchor for a markdown header.
Filters file paths using globs, regular expressions, or custom criteria
Regex for matching dot-directories, like `.git/`
Easy and small template engine for the browser.
Sorting and matching utility using configurable string, glob, regular expression, and/or function matchers
A dead simple, customizable plain text parser.
A library to process strings with regular expressions.
Check that given value is valid hex color, using `hex-color-regex` - the best regex for matching hex color values
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 (with option to append) string or RegEx in a file, if different vs old contents (SSD/flash/write-IOPS friendly).
A regex to match the :emoji: snippets in a string.
A regular expression that only matches a valid Github username
Node module for searching multi-line string using regex
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.
A isomorphic, bullet-proof, ninja-ready route parsing, matching, and reversing library for Javascript in Node and the browser.
Node js find and replace command line tool
RegExp object to match and validate URL(s).
Parsing Library for Typescript and Javascript.
A gulp plugin that will delete all lines that matches one of the given regex filters.
Escape RegExp special characters. This is a fork of sindresorhus/escape-string-regexp, but with CommonJS support.
[](https://www.npmjs.com/package/@ffras4vnpm/totam-dolorem-impedit) [](h
A simple library for escaping specical characters in strings for HTML, CSS, RegExp, String, URL.
A regular expression for valid domains.
JavaScript Regular expressions made easy
Regular expression for phone numbers.
Regexp for data-uri
Extends JavaScript RegExp with named groups, backreferences and replacement.
Extract hardcoded values from files and replace them with mustache-style template variables. Ideal for sanitizing secrets in HAR files and other structured text.
Rename files in gulp pipelines with regex
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 collection of regular expressions
Filter an object values using glob patterns or with a `callback` function returns true.
Create a matching function from a glob pattern, regex, string, array, object or function.
A typescript library for writing type-safe regular expressions using named capture groups