68 packages found
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
Powerful string matching insensitive to diacritics, special characters, symbols and case
Return a regular expression to parse a regular expression string.
Split a piece text into multiple chunks based on a search query, allowing you to highlight the matches.
Replace special characters to their simple characters
Regular expression to parse a regular expression string.
This module is small but easy to use. The purpose of this module is to serve as a container for all my validator modules. That has thirteen validator all in one module, the validators is as follows: bigger, contains, equal, longer, mqtt topic, regex, smal
Map multiple regular expressions to one or more strings
Convert sets of semantic key/vale conditions to regex capture groups
Regular expression to match a duration string.
Grunt plugin to search and replace text content of files based on regular expression patterns
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
- expression
- expressions
- find
- format
- match
- matches
- modify
- pattern
- patterns
- regex
- regexp
- regular
- replace
- replaced
- View more
Useful regex patterns and functions to test them.
tests a string to see if it is a valid email address
standalone module to replace a string in a file
A Vinyl plugin to replace file contents
- vinyl
- gulp
- interpolate
- interpolation
- replace
- string
- replacement
- regex
- regexp
- regular
- expression
- substitute
- substitution
- subs
- View more
A tiny function for escaping a string to be used as the source in a regex.
Utilities to get and check variable types (isString, isPlainObject, isRegExp, etc)
- array
- assert
- assertion
- async
- async function
- async-function
- asyncFunction
- bool
- boolean
- browser
- check
- check-type
- checking
- class
- View more
A simple RegEx based utility for parsing each part of the URL. This would help to get the different constituents of the URL.
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.