search-and-replace
command line utility to replace a regex with replacement within a found file in some path
Found 3044 results for regex replace
command line utility to replace a regex with replacement within a found file in some path
Search & replace across files with a CLI tool that makes you trust what you are doing.
find and replace in file
String replace using asynchronous replacement functions
Modify rollup output with find / replace dynamically
Easily replace and transform :props in strings.
Replace strings in files by using a string, a regex pattern, or an array of either.
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
A single Metalsmith plugin for multiple types of replace action
A webpack loader to replace values in files using regex
Gulp plugin to find and replace stuff.
Replace special characters to normalized letters
A simple CLI/Module for regex replacing strings in files & renaming files recursively
Allow you to parse a list of files and replace tokens based on specifics patterns.
Find multiple RegExp matches in a string
Command line utility for automatically injecting environment variables into files.
Simple esbuild plugin for replacing file content while bundling
A package to go further with string replace
Regular expression for matching reserved filename characters
Babel plugin to replace extension of file name written in import statement and dynamic import.
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
Escape RegExp special characters
Use regular expressions to replace things in strings!
Ignore is a manager and filter for .gitignore rules, the one used by eslint, gitbook and many others.
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`
Glob matching for javascript/node.js. A replacement and faster alternative to minimatch and multimatch.
Pass two numbers, get a regex-compatible source string for matching ranges. Validated against more than 2.78 million test assertions.
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
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
ES6 spec-compliant RegExp.prototype.flags shim.
Returns true if a value is a plain object, array or function.
A regex to match any full character, considering weird character ranges.
regexpu’s core functionality (i.e. `rewritePattern(pattern, flag)`), capable of translating ES6 Unicode regular expressions to ES5.
Compile regular expressions using the `s` (`dotAll`) flag to ES5.
Compile regular expressions using named groups to ES5.
Regular expression for matching astral symbols
Spec-compliant polyfill for String.prototype.matchAll
Compile Unicode property escapes in Unicode regular expressions to ES5.
Generate regular expressions from regjsparser’s AST.
Generate JavaScript-compatible regular expressions based on a given set of Unicode symbols or code points.
Compile regular expressions' unicodeSets (v) flag.
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)
Parse regular expressions' unicodeSets (v) flag.
Tokenizes a string that represents a regular expression.
Compile regular expressions using duplicate named groups to index-based groups.
detect possibly catastrophic, exponential-time regular expressions
Compile inline regular expression modifiers
Extended glob support for JavaScript. Adds (almost) the expressive power of regular expressions to glob patterns.
Check if a string has ANSI escape codes
Human-friendly replacements.
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)
Check if a value is a regular expression
Replace every character in a string with h.
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
Regular expression for getting the root of a posix or windows filepath.
Generate regular expressions from regjsparser’s AST.
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.
Simple wildcard matching
Traverse object hierarchies using matching and callbacks.
Like `string.replace`, but with asynchronous, concurrent replacement.
Extended 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.
detect possibly catastrophic, exponential-time regular expressions
Return true if a file path is (or has) a dotfile. Returns false if the path is a dot directory.
Regular expression for matching file names, with or without extension.
A text replacement command line utility with dry-run, mapping, and regex support.
Returns an object with the (non-glob) base path and the actual pattern.
Replace text patterns with applause.
Returns true if the given string is a POSIX bracket expression (POSIX character class).
Regex for matching HSLA colors.
Regex for matching RGBA color strings.
Convert Oniguruma patterns to native JavaScript RegExp
Parse a glob pattern into an object of tokens.
The best regular expression (regex) for matching hex color values from string.
Return true if a file path contains the given path.
Spec-compliant polyfill for String.prototype.replaceAll ESnext proposal
Returns true if a windows file path has invalid characters.
dockerignore is a file filter library compatible with Docker and the node-ignore API
Regex template tag with extended syntax, context-aware interpolation, and always-on best practices
Regex for RGB color strings.
Regex for matching HSL colors.
Clone and modify a RegExp instance
Cucumber Expressions - a simpler alternative to Regular Expressions
Recursive matching plugin for Regex+
Parse a github URL into an object.
Make a regular expression time out if it takes too long to execute
A library for analysing JS RegExp
Make a synchronous function have a timeout
A library to find JS RegExp with super-linear worst-case time complexity for attack strings that repeat a single character.
🌈 Light, fast, and easy to use, dependencies free javascript syntax highlighter, with automatic language detection
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
Returns true if a file path does not contain any invalid characters.
Regular expression for matching javascript require/import statements.
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
Returns `true` if an array has a glob pattern.
Regular expression for matching scoped npm package names
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
Recursive find and replace command line utility
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.
Human-friendly replacements.
Return a regular expression to capture a function name.
Strings decorator (by regex) with: React components, HTML tags etc.
Escape a regular expression string or pattern.
Create a regular expression from a regular expression string.
Regular expression to detect an extended-length path.
Return a regular expression to match a newline character sequence.
Emojibase utility functions for working with emoji characters.
Test if a value is a regular expression string.
A collection of utilities for emojis
Regular expression for matching URLs
Test if a value is a regular expression.
MCP server for refactoring tools
Return a regular expression to parse a regular expression string.
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.
Evergreen emoji regex patterns.
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.
Strip ANSI color codes from a string. No dependencies.
Array extras for regular expressions
A regular expression that matches a CHANGELOG filename
Extract gfm (GitHub Flavored Markdown) fenced code blocks from a string.
Generates an anchor for a markdown header.
Utilities to get and check variable types (isString, isPlainObject, isRegExp, etc)
RegExp for gfm (GitHub Flavored Markdown) fenced code blocks.
Regular expression for matching CSS urls.
Transform GLOB patterns to JavaScript regular expressions for fast file path matching.
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.
Regular expression for matching issue references
A source code transpiler that enables the use of ES2015 Unicode regular expressions in ES5.
Tiny glob->regex converter
Regex to validate that a URL is a git url.
Regular expression for matching JavaScript identifiers
A lite useragent regexes collection.
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.
Escape RegExp special characters
A robust ES3-compatible polyfill for the `RegExp.escape` proposal - see https://github.com/tc39/proposal-regex-escaping
Simple, flexible file copy utility
The magical sticky regex-based parser generator 🧙
Regular expression for matching XML NCName
Optimize regex literals
Escapes input characters to be used in regular expressions.
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
JavaScript APG, an ABNF Parser Generator
Find and replace text in github file in all repositories
Check if a string is an IP address
Weapon regeX mutates regular expressions for use in mutation testing.
Covert Oniguruma-flavor Regexp to JavaScript native RegExp
ESLint rules using Regular Expression
Replace text patterns with a given replacement.
Get all the matches for a regular expression in a string.
UUID check for Node and the browser
Check if a string is a valid filename
Create regex for template delimiters.
A tiny (349B) utility to rewrite `import` statements as `require()`s; via RegExp
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.
Maintainable regular expressions for TypeScript and JavaScript.
Change the contents of multiple files
regex replacements using asynchronous callback functions
Micro parser for detection of literal regexes
Tagged template string regular expression compiler.
XML Schema pattern (regular expression) matcher
Bash-powered globbing for node.js
utilities for generating regular expression
WebAssembly port of Oniguruma regex library
Regular expressions for various Unicode character classes extracted from XRegExp
A tiny, PEG-like system for building language grammars with regexes.
A isomorphic, bullet-proof, ninja-ready route parsing, matching, and reversing library for Javascript in Node and the browser.
A JavaScript package to return captured groups of a regular expression as an object.
standalone module to replace a string in a file
A fork of `recursive-copy`: Simple, flexible file copy utility
Regular expression for matching javascript require statements.
Transform a string with an array of replacement patterns.
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
Generate regular expressions that match a set of strings
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.
Regular expression for matching email addresses
Parses a regular expression string and returns a new regular expression.
Regular expression to parse a regular expression string.
escape regular expression characters
Regular expression for matching CSS @imports
A tool to enable the checking, inserting and removal of licenses
Aids streams searching with string or regex delimiters.
A tiny function for escaping a string to be used as the source in a regex.
A gulp plugin to remove parts of code based on regular expressions.
A CLI and library which tests helps score how vulnerable a regex pattern is to ReDoS attacks. Supported in the browser, Node and Deno.
Regexp acceptor for ECMAScript 2018
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
Generates an anchor for a markdown header.
Filters file paths using globs, regular expressions, or custom criteria
Easy and small template engine for the browser and nodejs.
Regex for matching dot-directories, like `.git/`
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.
Easy and small template engine for the browser.
A library to process strings with regular expressions.
A dead simple, customizable plain text parser.
Sorting and matching utility using configurable string, glob, regular expression, and/or function matchers
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.
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.
A regular expression that only matches a valid Github username
Node module for searching multi-line string using regex
[![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
Node js find and replace command line tool