# sindresorhus/escape-string-regexp

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/sindresorhus-escape-string-regexp).**

598 stars · 59 forks · JavaScript · MIT

## Links

- GitHub: https://github.com/sindresorhus/escape-string-regexp
- awesome-repositories: https://awesome-repositories.com/repository/sindresorhus-escape-string-regexp.md

## Description

Escape RegExp special characters

## Tags

### Part of an Awesome List

- [Regex and Pattern Matching](https://awesome-repositories.com/f/awesome-lists/devtools/regex-and-pattern-matching.md) — Escapes special characters for use in regex.
- [Text Processing](https://awesome-repositories.com/f/awesome-lists/devtools/text-processing.md) — Escape special characters for regular expressions.
