# SiPillsInputCsvDirective documentation

**Kind:** directive

**Selector:** `[siPillsInputCsv]`

```
import { SiPillsInputCsvDirective } from '@siemens/element-ng/pills-input';
```

```
directive SiPillsInputCsvDirective extends SiPillsInputPatternBase
```

#### Input Properties

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| [pillsInputCsvItemRegex](<https://github.com/siemens/element/blob/main/projects/element-ng/pills-input/si-pills-input-csv.directive.ts#L22-L22>) | `RegExp \| undefined` | `undefined` | Regex to validate an input string item.<br><br>Inherited from `SiPillsInputPatternBase` |

#### Attributes and Methods

##### separatorRegex

[Source for separatorRegex](<https://github.com/siemens/element/blob/main/projects/element-ng/pills-input/si-pills-input-pattern-base.ts#L20-L20>)

**Modifiers:** readonly, inherited

**Type:** `WritableSignal<RegExp>`

**Default:** `SEPARATOR_REGEX`

Regex to split the input value into segments.

Inherited from `SiPillsInputPatternBase`
