+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "escapeStringForRegex"
keywords = ["grafana","documentation","sdk","@grafana/data"]
type = "docs"
+++

## escapeStringForRegex variable

### escapeStringForRegex variable

<b>Signature</b>

```typescript
escapeStringForRegex: (value: string) => string
```
<b>Import</b>

```typescript
import { escapeStringForRegex } from '@grafana/data';
```
