Skip to content

Commit 1e3b459

Browse files
Merge pull request #6447 from EdB-MSFT/uuf-multi-line-regex
multi line
2 parents 9406b97 + cd975f2 commit 1e3b459

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

data-explorer/kusto/query/replace-regex-function.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: replace_regex()
33
description: Learn how to use the replace_regex() function to replace all regex matches with another string.
44
ms.reviewer: alexans
55
ms.topic: reference
6-
ms.date: 08/11/2024
6+
ms.date: 12/04/2024
77
---
88
# replace_regex()
99

@@ -24,7 +24,7 @@ Replaces all [regular expression](regex.md) matches with a specified pattern.
2424
| Name | Type | Required | Description |
2525
|--|--|--|--|
2626
| *source*| `string` | :heavy_check_mark: | The text to search and replace.|
27-
| *lookup_regex*| `string` | :heavy_check_mark: | The [regular expression](regex.md) to search for in *text*. The expression can contain capture groups in parentheses.|
27+
| *lookup_regex*| `string` | :heavy_check_mark: | The [regular expression](regex.md) to search for in *text*. The expression can contain capture groups in parentheses. To match over multiple lines, use the `m` or `s` flags. For more information on flags, see [Grouping and flags](regex.md#grouping-and-flags). |
2828
| *rewrite_pattern*| `string` | :heavy_check_mark: | The replacement regex for any match made by *matchingRegex*. Use `\0` to refer to the whole match, `\1` for the first capture group, `\2` and so on for subsequent capture groups.|
2929

3030
## Returns

0 commit comments

Comments
 (0)