escape-string-regexp

RegExp escape tool

Escapes special characters in regular expressions to ensure safe string insertion

Escape RegExp special characters

GitHub

582 stars
14 watching
54 forks
Language: JavaScript
last commit: 5 months ago
Linked from 1 awesome list


Backlinks from these awesome lists:

Related projects:

Repository Description Stars
sindresorhus/regex A wrapper around NSRegularExpression to simplify regular expression usage in Swift 331
tc39/proposal-regex-escaping An ECMAScript standard proposal to improve regular expression escaping functionality. 369
tc39/proposal-regexp-r-escape Proposes an escape sequence for matching Unicode line terminators in regular expressions 5
dmitrysoshnikov/regexp-tree Tools and APIs for parsing, manipulating, and executing regular expressions in JavaScript 401
chalk/ansi-regex A regular expression library for matching ANSI escape codes 185
attackercan/regexp-security-cheatsheet A resource for identifying and avoiding common security vulnerabilities in regular expressions used in web application security 711
sindresorhus/indent-string A utility function to insert consistent indentation into a string 112
sindresorhus/matcher A utility for simple string matching with wildcard patterns 537
sindresorhus/string-length Corrects string length counting by ignoring astral symbols and ANSI escape codes. 162
learnbyexample/learn_js_regexp A comprehensive resource for learning JavaScript regular expressions 112
sindresorhus/strip-indent Removes redundant indentation from a string by finding the minimum leading whitespace across all lines. 135
rundevelopment/regexp-ast-analysis A TypeScript library that parses and analyzes JavaScript regular expressions into abstract syntax tree nodes 3
lukeed/regexparam A utility for converting route patterns into regular expressions 568
sindresorhus/ansi-escapes A collection of functions for manipulating the terminal screen in various ways 496
sindresorhus/npm-user Extracts user data from an npm user's profile page 57