---
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: 194
product: Flux
version: v0
publisher: InfluxData
canonical: https://docs.influxdata.com/flux/v0/stdlib/regexp/
date: '2023-09-12T23:33:31-06:00'
lastmod: '2023-09-12T23:33:31-06:00'
---

* Flux 0.33.0+

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/)
