Create a regular expression from a regular expression string.
Return a regular expression to match a newline character sequence.
Test if a value is a regular expression string.
JavaScript-compatible Unicode data. Arrays of code points, arrays of symbols, and regular expressions for Unicode v17.0.0’s categories, scripts, blocks, bidi, and other properties.
Replace search occurrences with a replacement string.
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.
Escape RegExp special characters
Generate regular expressions that match a set of strings
Strip ANSI color codes from a string. No dependencies.
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.
Tagged template string regular expression compiler.
A JavaScript Regular Expression library, extending the standard RegExp class with missing functionality
Utilities to get and check variable types (isString, isPlainObject, isRegExp, etc)
Escape RegExp special characters
ESLint rules using Regular Expression
A source code transpiler that enables the use of ES2015 Unicode regular expressions in ES5.
Regular expression for matching issue references
Maintainable regular expressions for TypeScript and JavaScript.
Regular expression for matching email addresses
Escape regular expression special characters
Escapes input characters to be used in regular expressions.
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 expression for matching XML NCName
Regular expressions for matching against the XML Character Classes
Escape regular expression special characters
Get all the matches for a regular expression in a string.
Regular expression for matching javascript require statements.
Regular expression for matching HTML empty conditional comments
Regular expression to parse a regular expression string.
Parses a regular expression string and returns a new regular expression.
Regular expressions for various Unicode character classes extracted from XRegExp
Regexp acceptor for ECMAScript 2018
Create regex for template delimiters.
css-to-json is a package that transforms the syntax from css to JSON format using regular expressions
Regular expression for matching JSDoc comment blocks and the code below them.
Expand a regular expression pattern into a set of words
Relocatable regular expressions.