---
title: regexp package
description: The regexp package provides tools for working with regular expressions.
url: https://docs.influxdata.com/flux/v0/stdlib/regexp/
estimated_tokens: 365
product: Flux
version: v0
---

# regexp package

-   Flux 0.33.0+
-   View InfluxDB support

The `regexp` package provides tools for working with regular expressions. Import the `regexp` package:

```js
import "regexp"
```

## Functions

-   [regexp.compile()](/flux/v0/stdlib/regexp/compile/)
-   [regexp.findString()](/flux/v0/stdlib/regexp/findstring/)
-   [regexp.findStringIndex()](/flux/v0/stdlib/regexp/findstringindex/)
-   [regexp.getString()](/flux/v0/stdlib/regexp/getstring/)
-   [regexp.matchRegexpString()](/flux/v0/stdlib/regexp/matchregexpstring/)
-   [regexp.quoteMeta()](/flux/v0/stdlib/regexp/quotemeta/)
-   [regexp.replaceAllString()](/flux/v0/stdlib/regexp/replaceallstring/)
-   [regexp.splitRegexp()](/flux/v0/stdlib/regexp/splitregexp/)

#### Related

-   [Work with regular expression types](/flux/v0/data-types/basic/regexp/)
