# TextPatternKind enum

Namespace: [Grasshopper2.Parameters.Standard](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.parameters.standard.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public enum TextPatternKind
```

Enumerates the possible text pattern matching types.

## Values

| Name | Value | Description |
| --- | --- | --- |
| Equals | 1 |  |
| StartsWith | 2 | String must start with pattern. |
| Contains | 4 | String must contain the pattern. |
| EndsWith | 8 | String must end with the pattern. |
| Wildcard | 16 | String must match the pattern given wildcard placeholders (* = any string, ? = single char, # = numeric literal) |
| Regex | 32 | String must match the Regex pattern. |
