replace-string
Replace all substring matches in a string
Found 2579 results for match all
Replace all substring matches in a string
Returns true if the value passed is all whitespace.
An ESnext spec-compliant shim/polyfill/replacement for all Well-Known Symbols that works in any environment with Symbols.
This package includes the [core-js](https://github.com/zloirock/core-js) polyfill for `String#replaceAll`, along with TypeScript typings.
Find all matches for the text in electron app
User-friendly glob matching
Bash-like brace expansion, implemented in JavaScript. Safer than other brace expansion libs, with complete support for the Bash 4.3 braces specification, without sacrificing speed.
Matches strings against configurable strings, globs, regular expressions, and/or functions
Filter all matching or non-matching media queries
Find multiple RegExp matches in a string
Regular expression for matching ANSI escape codes
An easy-to-use wildcard globbing library.
Find a file or directory by walking up parent directories
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`
Blazing fast and accurate glob matcher written in JavaScript, with no dependencies and full support for standard and extended Bash glob features, including braces, extglobs, POSIX brackets, and regular expressions.
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
Parse a glob pattern into an object of tokens.
All mismatch between two strings
Glob matching for javascript/node.js. A replacement and faster alternative to minimatch and multimatch.
Returns true if a string has an extglob.
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
Match balanced character pairs, like "{" and "}"
zhRegExp from all plugin enabled with unsafe options
Measure the difference between two strings using the Levenshtein distance algorithm
| index | [npm-run-all] | [run-s] | [run-p] | [Node API] | |-------|---------------|---------|---------|------------|
A regex to match any full character, considering weird character ranges.
Spec-compliant polyfill for String.prototype.matchAll
Return true if a file path is (or has) a dotfile. Returns false if the path is a dot directory.
Match balanced character pairs, like "{" and "}"
Fastest Levenshtein distance implementation in JS.
Generate a regex from a string or array of strings.
Check if a string has ANSI escape codes
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)
Extended glob support for JavaScript. Adds (almost) the expressive power of regular expressions to glob patterns.
Utilities for the snapdragon parser/compiler.
Create a javascript regular expression for matching everything except for the given string.
PostCSS plugin to remove all unused variables in a CSS file.
Returns true if a filepath is a windows UNC file path.
Check if a string matches the name of a Node.js builtin module
Turns off all rules that are unnecessary or might conflict with [Prettier].
Find the first file matching a given pattern in the current directory or the nearest ancestor directory.
Regular expression for matching IP addresses (IPv4 & IPv6)
Turns off all rules that are unnecessary or might conflict with [Prettier].
Regular expression for matching semver versions
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.
Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`
Regular expression for getting the root of a posix or windows filepath.
Extends `minimatch.match()` with support for multiple patterns
Find a file or directory by walking up parent directories — Zero dependencies
Simple wildcard matching
The most efficient JS implementation calculating the Levenshtein distance, i.e. the difference between two strings.
Read the closest package.json file
Selectors decision tree - choose matching selectors, fast
Compare DNS record strings for equality
Fast, bash-like range expansion. Expand a range of numbers or letters, uppercase or lowercase. Used by micromatch.
Returns true if a windows file path has invalid characters.
Return true if a value is a valid glob pattern or patterns.
Returns an object with a `negated` boolean and the `!` stripped from negation patterns. Also respects extglobs.
Regular expression for matching file names, with or without extension.
The exhaustive Pattern Matching library for TypeScript.
The best regular expression (regex) for matching hex color values from string.
Parse a github URL into an object.
Return true if a file path contains the given path.
Parses and determines if a given CSS Media Query matches a set of values.
Filter files in a `vinyl` stream
Check if a string is an IP address
Regular expression for matching HTML comments
A tiny, efficient fuzzy matcher that doesn't suck
Returns true if a file path does not contain any invalid characters.
Regular expression for matching javascript require/import statements.
Match BCP 47 language tags with language ranges per RFC 4647
Utilities for working with match patterns.
A tiny and extremely fast library for compiling and matching basic glob patterns
[](https://www.npmjs.com/package/levenary) [](https://github.com/tanhauhau/levenary/actions)
This is a runtime library for [TypeScript](https://www.typescriptlang.org/) that contains all of the TypeScript helper functions.
An ESLint plugin for linting ESLint plugins. Rules written in CJS, ESM, and TypeScript are all supported.
hast utility for `querySelector`, `querySelectorAll`, and `matches`
This is a runtime library for [TypeScript](https://www.typescriptlang.org/) that contains all of the TypeScript helper functions.
This is a runtime library for [TypeScript](https://www.typescriptlang.org/) that contains all of the TypeScript helper functions.
Returns `true` if an array has a glob pattern.
This is a runtime library for [TypeScript](https://www.typescriptlang.org/) that contains all of the TypeScript helper functions.
An absurdly small glob matcher that packs a punch.
create matching selectors from css for your very own nested object hierarchy
Asynchronous String.prototype.replace()
This repository hosts all the font files for the Fontsource project. For more information, see the [Fontsource README.md](https://github.com/fontsource/fontsource).
Return all word matches between two arrays within given Levenshtein distance
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.
Replace matches in a Buffer
Quickly parse & match URLs
Return a regular expression to capture a function name.
Escape glob patterns
This [vite](https://vitejs.dev/) plugin generates a single SVG spritemap containing multiple <symbol> elements from all `.svg` files in a directory.
This [vite](https://vitejs.dev/) plugin generates a single SVG spritemap containing multiple <symbol> elements from all `.svg` files in a directory.
Strip ANSI color codes from a string. No dependencies.
Wrapper for [braces] to enable brace expansion for arrays of patterns.
(temporary fork of picomatch) Blazing fast and accurate glob matcher written in JavaScript, with no dependencies and full support for standard and extended Bash glob features, including braces, extglobs, POSIX brackets, and regular expressions.
Return a regular expression to match a newline character sequence.
This [vite](https://vitejs.dev/) plugin generates a single SVG spritemap containing multiple <symbol> elements from all `.svg` files in a directory.
A comprehensive comparison library, for use in test frameworks
This [vite](https://vitejs.dev/) plugin generates a single SVG spritemap containing multiple <symbol> elements from all `.svg` files in a directory.
Fuzzy match a command from a list (typo-safety)
Recursive downward search for all files matching a given pattern from the current directory and child directories
A JavaScript Regular Expression library, extending the standard RegExp class with missing functionality
Fast and tiny fuzzy-search utility
Utilities for IPv4/IPv6 ranges/subnets/masks parsing/matching, string representations, ...
easier than regex string matching patterns for urls and other strings. turn strings into data or data into strings.
Rust's Option<T> and Result<T, E>, implemented for TypeScript.
A regular expression that matches a CHANGELOG filename
Load multiple grunt tasks using globbing patterns
Dependency-free request URI matcher
A function to extract any colors from a string
unist utility to select nodes with CSS-like selectors
A low-level utility for matching a string against a directed acyclic graph of regexes.
[](https://opencollective.com/@hutechtechnical/sint-dolor-voluptatibus-quod) . This monorepo contains all Skiff apps, libraries, and more. You can sign up, u
Regular expression for matching javascript require statements.
Port of diff-match-patch to TypeScript.
A regex to match the :emoji: snippets in a string.
A isomorphic, bullet-proof, ninja-ready route parsing, matching, and reversing library for Javascript in Node and the browser.
Get the name of a project, from package.json, git config, or basename of the current working directory.
Tool to convert the patterns and globs of your WebExtension manifest to regex
Simplified version of https://github.com/jonschlinkert/parse-github-url
[//]: # "This README.md file is auto-generated, all changes to this file will be lost." [//]: # "To regenerate it, use `python -m synthtool`." <img src="https://avatars2.githubusercontent.com/u/2810941?v=3&s=96" alt="Google Cloud Platform logo" title="Goo
Create a new object filtered to have only properties for which the callback returns true.
_@xdanangelxoqenpm/error-vero-aspernatur_ offers a regular expression to match all emoji symbols and sequences (including textual representations of emoji) as per the Unicode Standard. It’s based on [_emoji-test-regex-pattern_](https://github.com/mathiasb
Super small `Element.matches` fix for older browsers (IE 9+, Edge 12+, Safari, Android browsers)
_@hutechwebsite/quas-iure-iste-magni_ offers a regular expression to match all emoji symbols and sequences (including textual representations of emoji) as per the Unicode Standard. It’s based on [_emoji-test-regex-pattern_](https://github.com/mathiasbynen
Bash-powered globbing for node.js
Regular expression for matching email addresses
Match substrings on the left or right of a given index, ignoring whitespace
match or ignore url path
Replace text patterns with applause.
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.
Returns true when the given `name` matches any of the path properties on a vinyl file.
An extremely fast and lightweight glob-matching library with advanced features
Iterates over the elements in an array, returning an array with only the elements for which the callback returns truthy.
Get the language associated with a file extension or the extensions associated with a language using the data from GitHub's [Linguist YAML file](https://github.com/github/linguist/blob/master/lib/linguist/languages.yml)
RegExp for gfm (GitHub Flavored Markdown) fenced code blocks.
Extract gfm (GitHub Flavored Markdown) fenced code blocks from a string.
React spreadsheet import for xlsx and csv files with column matching and validation
link to URL path matching borrowed from React Router
Replace matching strings and regexes in files
A pure javascript implementation of the Stable Matching Algorithm.
Match the case of `value` to that of `base`
a simple chai plugin for asserting on types
Check if an element matches a given selector
Match mqtt formatted topic strings to strings
Replace text patterns with applause.
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]
Replace multiple substrings in a string in turn
Human friendly file system utilities for Node.js
A library for textually searching arrays and hashes of objects by property (or multiple properties). Designed specifically for autocomplete.
Replace text patterns with applause.
Sorting and matching utility using configurable string, glob, regular expression, and/or function matchers
Keep your package.json version requirements satisfied
Regex for matching dot-directories, like `.git/`
Human-friendly replacements.
`safety-match` provides pattern matching for JavaScript, TypeScript, and Flow.
Find files or directories by walking up parent directories.
Search.io JavaScript SDK
A regular expression that only matches a valid Github username
file globbing for node.js. speedy and powerful alternative to node-glob.
[![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
Fast library for matching MQTT patterns with named wildcards
Convert Gitignore to Glob patterns
A regex for matching punycode.
assert + matchers <3
Supersonic reverse matching engine
A simple utility to check if a string is an ISO-compliant date.
Create a matching function from a glob pattern, regex, string, array, object or function.
Array of RegExp.prototype.exec results
BemCell parser
Filter an object values using glob patterns or with a `callback` function returns true.
Tools to use handle plain JS objects as immutable objects
Return an array of resolved filepaths for require-able local or named npm modules. Wildcard (glob) patterns may be used.
fast-find-in-files recursively searches sub-directories for needle matches
Parse a Bitbucket URL into an object.
Checks if one input matches another
A collection of string matching algorithms built with React Select in mind
A module for testing URLs against Chrome and Firefox match patterns.
Pattern match for NLCST.
React spreadsheet import for xlsx and csv files with column matching and validation
Allow conditional matching in React JSX.
[![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
Return `true` if a file path ends with the given string/suffix.
Utilities for JavaScript Iterable and AsyncIterable
Regular expression for matching words in a string. Support for english, CJK and Cyrillic.
Snapdragon plugin that adds a capture method to the parser instance.
Utilities for working with text.
Utility functions to mark and/or highlight character matches in texts
Match and generate URLs with strong typing
Filter an object by its keys or values. Returns a copy of an object filtered to have only keys or values that match the given glob patterns.
Filter the keys of an object using glob patterns.
A plugin to scan a file for a string or expression
murl is fast url pattern matching and replacing
Fast fuzzy string matching with scoring and matched ranges
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.
String.prototype.includes() but using localeCompare.
支持多音字, 繁体字,首字母缩写的拼音搜索引擎
Matches strings against configurable strings, globs, regular expressions, and/or functions
A TypeScript tool to compare array quickly and you can do something when matching
Generate JavaScript-compatible regular expressions with chinese/jp/zh/cn
Simplest way to create match memory games.
Count the words in a string. Support for english, CJK and Cyrillic.
A isomorphic, bullet-proof, ninja-ready route parsing, matching, and reversing library for Javascript in Node and the browser.
Match a MQTT Topic against Wildcards