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).