---
id: fast-foundation.search.pattern
title: Search.pattern property
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-foundation](./fast-foundation.md) &gt; [Search](./fast-foundation.search.md) &gt; [pattern](./fast-foundation.search.pattern.md)

## Search.pattern property

A regular expression that the value must match to pass validation.

<b>Signature:</b>

```typescript
pattern: string;
```

## Remarks

HTMLAttribute: pattern
