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

## textUtil variable

### textUtil variable

<b>Signature</b>

```typescript
textUtil: {
    escapeHtml: typeof escapeHtml;
    hasAnsiCodes: typeof hasAnsiCodes;
    sanitize: typeof sanitize;
    sanitizeUrl: typeof sanitizeUrl;
}
```
<b>Import</b>

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