# source

The `source` option of an extract field.

What `regex` is applied to: `text` (the default) or `html`.

Type: `"text" | "html"`

## Example

```json
{
  "sku": {
    "regex": "SKU:\\s*([A-Z0-9-]+)",
    "source": "text"
  }
}
```

From the contract fixture `product-page-list-regex-json`, a program the test suite validates.
