@stdlib/string-replace
Replace search occurrences with a replacement string.
Found 3042 results for regex replace
Replace search occurrences with a replacement string.
Replace text patterns with applause.
Replace search occurrences with a replacement string.
Replace Text with Regex in files before bundling.
Replace text in files using strings, regexs or functions.
Replace text patterns with applause.
Replace text patterns with applause.
Replace text patterns with applause.
Replace special characters to their simple characters
Replace matching strings and regexes in files
Replace your code using regular expressions.
A node.js through stream that does basic streaming text search and replace and is chunk boundary friendly
Replace text patterns with a given replacement.
Modify rollup output with find / replace dynamically
replace strings that match a particular pattern with a React Component, recursively
Grunt plugin to search and replace text content of files based on regular expression patterns
Replace text patterns with applause.
Replace text patterns with applause.
Simple wrapper around javascript replace with CLI usage support!
JavaScript replaceLast function - Replaces last match for pattern in string with replacement
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.
Escape RegExp special characters
Modify rollup output with find / replace dynamically
Use regular expressions to replace things in strings!
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`
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.
Ignore is a manager and filter for .gitignore rules, the one used by eslint, gitbook and many others.
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
Returns true if a string has an extglob.
Tiny JavaScript tokenizer.
ES6 spec-compliant RegExp.prototype.flags shim.
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
A regex to match any full character, considering weird character ranges.
Returns true if a value is a plain object, array or function.
Regular expression for matching astral symbols
Compile regular expressions using the `s` (`dotAll`) flag to ES5.
Spec-compliant polyfill for String.prototype.matchAll
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.
Compile regular expressions using named groups to ES5.
Compile regular expressions' unicodeSets (v) flag.
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.
Find and replace strings or template outputs in text files (CLI tool designed for use in npm package.json scripts)
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.
Extended glob support for JavaScript. Adds (almost) the expressive power of regular expressions to glob patterns.
Parse regular expressions' unicodeSets (v) flag.
Tokenizes a string that represents a regular expression.
Compile inline regular expression modifiers
Check if a string has ANSI escape codes
detect possibly catastrophic, exponential-time regular expressions
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
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.
Replace every character in a string with h.
Create a javascript regular expression for matching everything except for the given string.
Returns true if a filepath is a windows UNC file path.
Regular expression for matching IP addresses (IPv4 & IPv6)
Human-friendly replacements.
Generate regular expressions from regjsparser’s AST.
Regular expression for getting the root of a posix or windows filepath.
Perform multiple str.replace() with one operation
Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`
Regular expression for matching semver versions
Glob to regular expression with support for extended globs
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.
Simple wildcard matching
Like `string.replace`, but with asynchronous, concurrent replacement.
gets the package name for a require statement
Return true if a file path is (or has) a dotfile. Returns false if the path is a dot directory.
Extended regular expressions
Return true if a file path contains the given path.
Regex for matching HSLA colors.
Regex for matching RGBA color strings.
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.
detect possibly catastrophic, exponential-time regular expressions
Returns true if the given string is a POSIX bracket expression (POSIX character class).
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.
Parse a glob pattern into an object of tokens.
Returns true if a windows file path has invalid characters.
The best regular expression (regex) for matching hex color values from string.
Replace text patterns with applause.
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.
Spec-compliant polyfill for String.prototype.replaceAll ESnext proposal
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
Parse a github URL into an object.
Clone and modify a RegExp instance
Recursive matching plugin for Regex+
Regular expression for matching HTML comments
🌈 Light, fast, and easy to use, dependencies free javascript syntax highlighter, with automatic language detection
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.
A regular expression to match all emoji-only symbols
A library for finite automata and regular expressions in the context of JS RegExp
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 synchronous function have a timeout
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
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.
Check whether a RegExp flag is supported
Recursive find and replace command line utility
Parse an author, contributor, maintainer or other 'person' string into an object with name, email and url properties following npm conventions.
Human-friendly replacements.
Create a regular expression from a regular expression string.
Return a regular expression to capture a function name.
Return a regular expression to match a newline character sequence.
Regular expression for matching URLs
Test if a value is a regular expression string.
Strings decorator (by regex) with: React components, HTML tags etc.
Escape a regular expression string or pattern.
Regular expression to detect an extended-length path.
MCP server for refactoring tools
A collection of utilities for emojis
Type-Level RegExp parser, matcher and permutation resolver
Return a regular expression to parse a regular expression string.
Test if a value is a regular expression.
easier than regex string matching patterns for urls and other strings. turn strings into data or data into strings.
Emojibase utility functions for working with emoji characters.
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
Evergreen emoji regex patterns.
Generates an anchor for a markdown header.
Regular expression for matching CSS urls.
Split a piece text into multiple chunks based on a search query, allowing you to highlight the matches.
Extract gfm (GitHub Flavored Markdown) fenced code blocks from a string.
A regular expression that matches a CHANGELOG filename
Utilities to get and check variable types (isString, isPlainObject, isRegExp, etc)
RegExp for gfm (GitHub Flavored Markdown) fenced code blocks.
Regular expression for matching issue references
A source code transpiler that enables the use of ES2015 Unicode regular expressions in ES5.
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
Regex to validate that a URL is a git url.
Regular expression for matching JavaScript identifiers
Regular expressions for matching against the XML Character Classes
The magical sticky regex-based parser generator 🧙
A lite useragent regexes collection.
Regular expression for matching XML NCName
Simple, flexible file copy utility
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
Escapes input characters to be used in regular expressions.
Regular expression for matching npm organization names
JavaScript APG, an ABNF Parser Generator
A robust ES3-compatible polyfill for the `RegExp.escape` proposal - see https://github.com/tc39/proposal-regex-escaping
Provides a regex that can be used to test if a string is a valid NPM package name.
Check if a string is an IP address
Covert Oniguruma-flavor Regexp to JavaScript native RegExp
Find and replace text in github file in all repositories
Optimize regex literals
Weapon regeX mutates regular expressions for use in mutation testing.
Get all the matches for a regular expression in a string.
Create regex for template delimiters.
UUID check for Node and the browser
ESLint rules using Regular Expression
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
Micro parser for detection of literal regexes
Maintainable regular expressions for TypeScript and JavaScript.
Change the contents of multiple files
regex replacements using asynchronous callback functions
WebAssembly port of Oniguruma regex library
Tagged template string regular expression compiler.
utilities for generating regular expression
XML Schema pattern (regular expression) matcher
A JavaScript package to return captured groups of a regular expression as an object.
Regular expressions for various Unicode character classes extracted from XRegExp
Bash-powered globbing for node.js
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 fork of `recursive-copy`: Simple, flexible file copy utility
standalone module to replace a string in a file
Regular expression for matching javascript require statements.
Transform GLOB patterns to JavaScript regular expressions for fast file path matching.
Generate regular expressions that match a set of strings
A collection of regular expressions to match color syntax substrings from a text
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
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 to parse a regular expression string.
escape regular expression characters
Regular expression for matching email addresses
Regular expression for matching CSS @imports
Aids streams searching with string or regex delimiters.
A tool to enable the checking, inserting and removal of licenses
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.
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.
Custom delimiters, for Handlebars templates.
Regular Expression Detection & Replacement streams.
a regular expression that matches all the surrogate pairs and combining-marked characters in a string
bump RegEx with semver
Regular expression for matching JSDoc comment blocks and the code below them.
Regular expressions.
Censor or highlight words and other patterns intelligently.
Regular expression for matching es6 template delimiters in a string.
Regular expression for matching JavaScript comments