@stdlib/string-replace
Replace search occurrences with a replacement string.
Found 3044 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.
Modify rollup output with find / replace dynamically
Use regular expressions to replace things in strings!
Escape RegExp special characters
Ignore is a manager and filter for .gitignore rules, the one used by eslint, gitbook and many others.
Glob matching for javascript/node.js. A replacement and faster alternative to minimatch and multimatch.
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.
Regular expression for matching a shebang line
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.
Temporarily substitute tokens in the given `string` with placeholders, then put them back after transforming the string.
Returns true if a string has an extglob.
Matches strings against configurable strings, globs, regular expressions, and/or functions
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.
Give a regex, get a robust predicate function that tests it against a string.
ES6 spec-compliant RegExp.prototype.flags shim.
A regex to match any full character, considering weird character ranges.
Compile regular expressions using the `s` (`dotAll`) flag to ES5.
regexpu’s core functionality (i.e. `rewritePattern(pattern, flag)`), capable of translating ES6 Unicode regular expressions to ES5.
Compile regular expressions using named groups to ES5.
Spec-compliant polyfill for String.prototype.matchAll
Regular expression for matching astral symbols
Generate regular expressions from regjsparser’s AST.
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.
Compile regular expressions' unicodeSets (v) flag.
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.
Tokenizes a string that represents a regular expression.
Parse regular expressions' unicodeSets (v) flag.
Compile regular expressions using duplicate named groups to index-based groups.
Compile inline regular expression modifiers
Human-friendly replacements.
detect possibly catastrophic, exponential-time regular expressions
Extended glob support for JavaScript. Adds (almost) the expressive power of regular expressions to glob patterns.
Check if a string has ANSI escape codes
Check if a value is a regular expression
Generate a regex from a string or array of strings.
Replace every character in a string with h.
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)
Create a javascript regular expression for matching everything except for the given string.
Regular expression for matching IP addresses (IPv4 & IPv6)
Perform multiple str.replace() with one operation
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.
Regular expression for getting the root of a posix or windows filepath.
Glob to regular expression with support for extended globs
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
Find and replace text in github file
Create random strings that match a given regular expression.
Clean up regular expressions
A library for teleporting rich data to another place.
Updates a section inside a file with newer content while removing the old content.
Extended regular expressions
Like `string.replace`, but with asynchronous, concurrent replacement.
Simple wildcard matching
Traverse object hierarchies using matching and callbacks.
gets the package name for a require statement
detect possibly catastrophic, exponential-time regular expressions
Regular expression for matching file names, with or without extension.
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.
A text replacement command line utility with dry-run, mapping, and regex support.
Replace text patterns with applause.
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.
Convert Oniguruma patterns to native JavaScript RegExp
Regex for matching HSLA colors.
Regex for matching RGBA color strings.
Returns true if the given string is a POSIX bracket expression (POSIX character class).
Parse a glob pattern into an object of tokens.
The best regular expression (regex) for matching hex color values from string.
Clone and modify a RegExp instance
Recursive matching plugin for Regex+
Regex for RGB color strings.
Returns true if a windows file path has invalid characters.
Spec-compliant polyfill for String.prototype.replaceAll ESnext proposal
Cucumber Expressions - a simpler alternative to Regular Expressions
Regex for matching HSL colors.
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
Return true if a file path contains the given path.
Make a synchronous function have a timeout
Make a regular expression time out if it takes too long to execute
Parse a github URL into an object.
Regular expression for matching javascript require/import statements.
🌈 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.
A library for finite automata and regular expressions in the context of JS RegExp
A regular expression to match all emoji-only symbols
Regular expression for matching HTML comments
Returns true if a file path does not contain any invalid characters.
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
Parse an author, contributor, maintainer or other 'person' string into an object with name, email and url properties following npm conventions.
Check whether a RegExp flag is supported
Regular expression for parsing an `author` string into an object following npm conventions.
Human-friendly replacements.
Strings decorator (by regex) with: React components, HTML tags etc.
Return a regular expression to capture a function name.
Escape a regular expression string or pattern.
Create a regular expression from a regular expression string.
Regular expression to detect an extended-length path.
Emojibase utility functions for working with emoji characters.
Test if a value is a regular expression.
Test if a value is a regular expression string.
Return a regular expression to match a newline character sequence.
A collection of utilities for emojis
Regular expression for matching URLs
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.
Split a piece text into multiple chunks based on a search query, allowing you to highlight the matches.
Evergreen emoji regex patterns.
Hash map of country ISO-3 codes to regular expression identifiers
MCP server for refactoring tools
Strip ANSI color codes from a string. No dependencies.
Array extras for regular expressions
Transform GLOB patterns to JavaScript regular expressions for fast file path matching.
Utilities to get and check variable types (isString, isPlainObject, isRegExp, etc)
Extract gfm (GitHub Flavored Markdown) fenced code blocks from a string.
A regular expression that matches a CHANGELOG filename
RegExp for gfm (GitHub Flavored Markdown) fenced code blocks.
Generates an anchor for a markdown header.
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 CSS urls.
A source code transpiler that enables the use of ES2015 Unicode regular expressions in ES5.
Tiny glob->regex converter
Regular expression for matching issue references
Regex to validate that a URL is a git url.
Regular expression for matching JavaScript identifiers
A robust ES3-compatible polyfill for the `RegExp.escape` proposal - see https://github.com/tc39/proposal-regex-escaping
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.
Regular expressions for matching against the XML Character Classes
Escape RegExp special characters
The magical sticky regex-based parser generator 🧙
Simple, flexible file copy utility
Provides a regex that can be used to test if a string is a valid NPM package name.
Escapes input characters to be used in regular expressions.
Optimize regex literals
Find and replace text in github file in all repositories
Regular expression for matching XML NCName
JavaScript APG, an ABNF Parser Generator
Check if a string is an IP address
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
ESLint rules using Regular Expression
Replace text patterns with a given replacement.
Check if a string is a valid filename
Get all the matches for a regular expression in a string.
UUID check for Node and the browser
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.
Create regex for template delimiters.
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
regex replacements using asynchronous callback functions
Micro parser for detection of literal regexes
Tagged template string regular expression compiler.
Bash-powered globbing for node.js
A isomorphic, bullet-proof, ninja-ready route parsing, matching, and reversing library for Javascript in Node and the browser.
A tiny, PEG-like system for building language grammars with regexes.
WebAssembly port of Oniguruma regex library
A JavaScript package to return captured groups of a regular expression as an object.
XML Schema pattern (regular expression) matcher
standalone module to replace a string in a file
Regular expressions for various Unicode character classes extracted from XRegExp
utilities for generating regular expression
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 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.
Generate regular expressions that match a set of strings
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 based version read/write plugin for release-it
A collection of regular expressions to match color syntax substrings from a text
Regular expression for matching email addresses
Parses a regular expression string and returns a new regular expression.
Regular expression for matching CSS @imports
escape regular expression characters
Regular expression to parse a regular expression string.
Aids streams searching with string or regex delimiters.
A tool to enable the checking, inserting and removal of licenses
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.
A tiny function for escaping a string to be used as the source in a regex.
Regular expressions.
a regular expression that matches all the surrogate pairs and combining-marked characters in a string
Regexp acceptor for ECMAScript 2018
Custom delimiters, for Handlebars templates.
Regular Expression Detection & Replacement streams.
Regular expression for matching es6 template delimiters in a string.
bump RegEx with semver
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