# StringRegExPattern

Parameter `StringRegExPattern` specifies the regular expression pattern for concatenated strings of recognized text lines.

## JSON Structure

**Location in template:**

```
LabelRecognizerTaskSettingOptions[i]
    └── SectionArray[j] (Section object)
        └── StageArray[k] (Stage object where Stage = "SST_ASSEMBLE_TEXT_LINES")
            └── StringRegExPattern
```

**Parent object:** [AssembleTextLinesStage](https://www.dynamsoft.com/capture-vision/docs/core/parameters/reference/label-recognizer-task-settings/stage-assemble-text-lines.md)

**Example:**

```json
{
    "StringRegExPattern": ""
}
```

> [!NOTE]
> - This snippet shows only the `StringRegExPattern` parameter.
> - To use it, embed this parameter within a [AssembleTextLinesStage](https://www.dynamsoft.com/capture-vision/docs/core/parameters/reference/label-recognizer-task-settings/stage-assemble-text-lines.md) object.
> - For the complete JSON structure, see:
>   - [Full JSON Structure](https://www.dynamsoft.com/capture-vision/docs/core/parameters/file/index.md)
>   - [Minimal Valid JSON](https://www.dynamsoft.com/capture-vision/docs/core/parameters/file/index.md#minimal-valid-json)

## Parameter Details

| StringRegExPattern Parameter Details |
| :----------------------------------- |
| **Type**<br>*String* |
| **Range**<br>All standard regular expressions.|
| **Default Value**<br>"" |
| **Remarks**<br>This is a filtering parameter. After all recognized text lines are concatenated, they will be matched against this regular expression. Results that do not match will not be output. |
