> ## Documentation Index
> Fetch the complete documentation index at: https://botmesh.afaya.com.co/llms.txt
> Use this file to discover all available pages before exploring further.

# ReplayMask

> Type alias exported by @botmesh/core/testing.

```ts theme={null}
type ReplayMask = 
  | RegExp
  | {
  pattern: RegExp;
  replace?: string;
};
```

Defined in: [testing/transcripts/replay.ts:38](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/transcripts/replay.ts#L38)

A text mask: every match is replaced by `replace` (default `'<*>'`) on both sides before comparing.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.