Search results
131 packages found
Generate RegExp for delimiters, to be used with templates, files or data streams.
- boundaries
- custom
- customize
- delimiters
- delims
- expressions
- front
- matter
- pattern
- patterns
- re
- regex
- regexp
- regular
- View more
Regular expression for matching IP addresses (IPv4 & IPv6). This is a fork of sindresorhus/ip-regex, but with CommonJS support.
Special RegExp characters, useful for escaping.
Build regular expression groups from arrays of strings. Useful when you need to automatically generate RegExp patterns.
Check if a string has ANSI escape codes
RegExp API for Humans!
Escape and un-escape delimiters in templates. Tested with Lo-Dash, underscore and Handlebars syntax, but could be used with other template engines/syntaxes as well. This is similar to the process used by Yeoman on escaped templates in generators.
- RegExp
- assemble
- atpl
- cache
- compile
- consolidate
- content
- data
- delimiters
- delims
- demlim
- demlimiter
- demlimiters
- demlims
- View more
Strip ANSI colors, attributes from a string
REXS is a language for creating regular expressions. This library can compile REXS to a regular expression.
- rexs
- re
- reg
- regex
- regular
- expression
- expressions
- regular expression
- regular expressions
- language
- lang
- compiler
- compile
- builder
- View more
Replace only specific occurrences of a string. e.g. if the string exists 10 times, you can replace, say, the 3rd and 8th occurrences only, etc. Returns a new string with nth specific matches of a pattern replaced by a replacement. The pattern can be a str
Return `true` if a file extension matches the given string, array of strings, or RegExp pattern.
Functions for fantastically fast file filtering, and more things that start with 'f'.
Extract a string in the given range (e.g. from line X to line Y).
Regular expression for matching ANSI escape codes
Regex Parser (fork from regexp)
A regular expression library for node.js
Format regex with string substitutions
Common regular expressions