# tExtractRegexFields Standard properties

These properties are used to configure tExtractRegexFields running in the Standard Job framework.

The Standard tExtractRegexFields component belongs to the Data Quality and the Processing families.

The component in this framework is available in all Talend products.

## Basic settings

| Field to split | Select an incoming field from the Field to<br>split list to split. |
| --- | --- |
| Regex | Enter a regular expression according to the programming language<br>you are using. |
| Schema and Edit<br>Schema | A schema is a row description. It defines the number of fields<br>(columns) to be processed and passed on to the next component. When you create a Spark<br>Job, avoid the reserved word line when naming the<br>fields.<br><br>Click Edit<br>schema to make changes to the schema. If the current schema is of the Repository type, three options are available:<br><br><ul> <li> <p> <span>View schema</span>: choose this                option to view the schema only.</p> </li> <li> <p> <span>Change to built-in property</span>:                choose this option to change the schema to <span>Built-in</span> for local changes.</p> </li> <li> <p> <span>Update repository connection</span>:                choose this option to change the schema stored in the repository and decide whether                to propagate the changes to all the Jobs upon completion. If you just want to                propagate the changes to the current Job, you can select <span>No</span> upon completion and choose this schema metadata                again in the <span>Repository Content</span>                window.</p> </li> </ul><br><br>Click Sync columns to retrieve<br>the schema from the previous component connected in the Job.<br><br>Information noteWarning:<br><br>Make sure that the output schema does not contain any column<br>with the same name as the input column to be split. Otherwise,<br>the regular expression will not work as expected. |
|  | Built-In: You create and store the schema locally for this component<br>only. |
|  | Repository: You have already created the schema and stored it in the<br>Repository. You can reuse it in various projects and Job designs. |

## Advanced settings

| Die on error | Select the check box to stop the execution of the Job when an error<br>occurs.<br><br>Clear the check box to skip any rows on error and complete the process for<br>error-free rows. When errors are skipped, you can collect the rows on error using a Row &gt; Reject link. |
| --- | --- |
| Check each row structure against<br>schema | Select this check box to check whether the total number of columns<br>in each row is consistent with the schema. If not consistent, an<br>error message will be displayed on the console. |
| tStatCatcher Statistics | Select this check box to gather the processing metadata at the Job<br>level as well as at each component level. |

## Global Variables

| Global Variables | ERROR\_MESSAGE: the error message generated by the component when an<br>error occurs. This is an After variable and it returns a string. This variable functions<br>only if the Die on error check box<br>is cleared, if the component has this check<br>box.<br><br>A Flow variable functions during the execution of a component<br>while an After variable functions after the execution of the component.<br><br>To fill up a field or expression with a<br>variable, press Ctrl + Space to<br>access the variable list and choose the variable to use from it.<br><br>For further information about variables, see *Talend Studio*<br>*User Guide*. |
| --- | --- |

## Usage

| **Usage rule** | This component handles flow of data therefore it requires input<br>and output components. It allows you to extract data from a<br>delimited field, using a Row &gt;<br>Main link, and enables you to<br>create a reject flow filtering data which type does not match the<br>defined type. |
| --- | --- |