diff --git a/airbyte_cdk/sources/declarative/declarative_component_schema.yaml b/airbyte_cdk/sources/declarative/declarative_component_schema.yaml index e68318cd4..84aaa6c53 100644 --- a/airbyte_cdk/sources/declarative/declarative_component_schema.yaml +++ b/airbyte_cdk/sources/declarative/declarative_component_schema.yaml @@ -5042,3 +5042,12 @@ interpolation: return_type: str examples: - '{{ "goodbye, cruel world" | regex_search("goodbye,\s(.*)$") }} -> "cruel world"' + - title: regex_replace + description: Replace all occurrences in the string that match the provided regex pattern with the specified replacement string. + arguments: + regex: The regular expression pattern to match against. + replacement: The string to replace matched occurrences with. + return_type: str + examples: + - '{{ "hello world" | regex_replace("world", "universe") }} -> "hello universe"' + - '{{ "hello-world_foo" | regex_replace("[_-]", " ") }} -> "hello world foo"'