- TIBCO BusinessEvents®
- Standard
- String

# String.replaceAll()

## Signature

`String replaceAll (String s1, String regex, String replacement)`

## Domain

ACTION, CONDITION, QUERY, BUI

## Description

Replaces each substring of this string that matches the given regular expression with the given replacement.

## Parameters

Name | Type | Description
--- | --- | ---
`s1` | `String` | A String to replace characters in.
`regex` | `String` | `s1` is to be matched.
`replacement` | `String` | A String to replace regular expression matches with.

## Returns

Type | Description
--- | ---
`String` | A string derived from the String `s1` by replacing every occurrence of the regular expression with `replacement`.

## Cautions

none

## See Also

java.util.regex.Pattern