Search results

131 packages found

Regular expression for matching IP addresses (IPv4 & IPv6). This is a fork of sindresorhus/ip-regex, but with CommonJS support.

published 5.0.0 2 years ago
M
Q
P

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.

published 0.2.4 8 years ago
M
Q
P

Special RegExp characters, useful for escaping.

published 0.1.0 10 years ago
M
Q
P

Build regular expression groups from arrays of strings. Useful when you need to automatically generate RegExp patterns.

published 0.1.0 10 years ago
M
Q
P

Check if a string has ANSI escape codes

published 4.1.1 3 years ago
M
Q
P

RegExp API for Humans!

published 1.1.0 8 years ago
M
Q
P

Simple Regex Language

published 0.2.3 5 years ago
M
Q
P

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.

published 0.4.0 10 years ago
M
Q
P

Strip ANSI colors, attributes from a string

published 1.0.2 5 years ago
M
Q
P

REXS is a language for creating regular expressions. This library can compile REXS to a regular expression.

published 1.0.3 3 years ago
M
Q
P

js 常用正则方法库

published 1.1.0 4 years ago
M
Q
P

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

published 0.2.1 10 years ago
M
Q
P

Return `true` if a file extension matches the given string, array of strings, or RegExp pattern.

published 0.2.1 10 years ago
M
Q
P

Functions for fantastically fast file filtering, and more things that start with 'f'.

published 0.1.2 10 years ago
M
Q
P

Extract a string in the given range (e.g. from line X to line Y).

published 0.1.0 10 years ago
M
Q
P

Regex Parser (fork from regexp)

published 1.2.1 5 years ago
M
Q
P

Regular expression for matching ANSI escape codes

published 1.0.0 a year ago
M
Q
P

A regular expression library for node.js

published 0.2.1 10 years ago
M
Q
P

Format regex with string substitutions

published 0.3.2 8 years ago
M
Q
P

Common regular expressions

published 0.2.1 10 years ago
M
Q
P