ExtractionPattern
A regex pattern for extracting metadata from external application output.
Notes
Defines a regular expression pattern used to extract metadata from external application output. Supports an optional replacement to transform matched values before storing them.
Usage
- YAML
- JSON
- XML
match: string
replace: string
{
"match": "string",
"replace": "string"
}
<extractionPattern>
<match>string</match>
<replace>string</replace>
</extractionPattern>
Properties
| Property | Type | Required | Default |
|---|---|---|---|
match | string | No | - |
replace | string | No | - |
Property Details
match
A regular expression used to match content in the document. When a capture group is present, only the captured portion is used as the extracted value.
replace
An optional replacement expression applied to matched content to construct the final extracted value. Supports back-references to capture groups (e.g., $1).