You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[`replaceOne`](/sql-reference/functions/string-replace-functions#replaceone)| Replaces the first occurrence of a pattern in a haystack string with the provided replacement string. |
23
-
|[`replaceAll`](/sql-reference/functions/string-replace-functions#replaceall)| Replaces all occurrences of a pattern in a haystack string with the provided replacement string. |
24
-
|[`replaceRegexpOne`](/sql-reference/functions/string-replace-functions#replaceregexpone)| Replaces the first occurrence of a substring matching a regular expression pattern (in re2 syntax) in a haystack with the provided replacement string. |
25
-
|[`replaceRegexpAll`](/sql-reference/functions/string-replace-functions#replaceregexpall)| Replaces all occurrences of a substring matching a regular expression pattern (in re2 syntax) in a haystack with the provided replacement string. |
22
+
|[`replaceOne`](/sql-reference/functions/string-replace-functions#replaceOne)| Replaces the first occurrence of a pattern in a haystack string with the provided replacement string. |
23
+
|[`replaceAll`](/sql-reference/functions/string-replace-functions#replaceAll)| Replaces all occurrences of a pattern in a haystack string with the provided replacement string. |
24
+
|[`replaceRegexpOne`](/sql-reference/functions/string-replace-functions#replaceRegexpOne)| Replaces the first occurrence of a substring matching a regular expression pattern (in re2 syntax) in a haystack with the provided replacement string. |
25
+
|[`replaceRegexpAll`](/sql-reference/functions/string-replace-functions#replaceRegexpAll)| Replaces all occurrences of a substring matching a regular expression pattern (in re2 syntax) in a haystack with the provided replacement string. |
26
26
27
27
For example, you can replace the name "John Smith" with a placeholder `[CUSTOMER_NAME]` using the `replaceOne` function:
0 commit comments