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

# String: Does not match wildcard pattern

> Checks that a string does not match the supplied wildcard pattern.

export const FormField = ({property, label, required = false, diType, uiPatterns, children}) => {
  const patterns = Array.isArray(uiPatterns) ? uiPatterns : uiPatterns ? [uiPatterns] : [];
  return <div style={{
    margin: '1.5rem 0'
  }}>
      <div style={{
    display: 'flex',
    alignItems: 'baseline',
    flexWrap: 'wrap',
    gap: '0.5rem',
    marginBottom: '0.25rem'
  }}>
        <strong>{label}</strong>
        <span style={{
    fontSize: '0.7rem',
    fontWeight: 600,
    textTransform: 'uppercase',
    letterSpacing: '0.04em',
    color: required ? '#6241f5' : '#6b7280'
  }}>
          {required ? 'Required' : 'Optional'}
        </span>
      </div>

      <div>{children}</div>

      {diType || patterns.length > 0 ? <p style={{
    fontSize: '0.85rem',
    color: '#6b7280',
    marginBottom: 0
  }}>
          {diType ? <>
              See the <a href={`/references/${diType}`}>{diType}</a> reference.{' '}
            </> : null}
          {patterns.length > 0 ? <>
              Accepts a <a href={`/documentation/placeholders-and-patterns/patterns#${patterns[0]}`}>pattern</a>.
            </> : null}
        </p> : null}
    </div>;
};

Passes when the incoming text does *not* fit a wildcard pattern you supply. This is the opposite of [String: Matches wildcard pattern](/references/condition/string-match): it lets you act only on values that fall outside a certain shape, for example everything whose code does not start with `SKU-`, or files that do not end in `.tmp`.

A wildcard pattern uses two special characters: `*` stands for any run of characters, including none, and `?` stands for exactly one character. Everything else has to match literally, and the comparison is case-sensitive. So with `SKU-*`, the value `PROD-5` passes this condition because it does not fit the pattern, while `SKU-1001` fails because it does fit. When you need finer control than wildcards allow, see [String: Does not match regular expression](/references/condition/string-not-regex).

This documentation describes: [Schema](/schemas/condition/string-not-match)

## Fields

<FormField property="value" label="Value" required>
  The wildcard pattern the incoming text is checked against. The condition passes when the text does *not* fit the pattern and fails when it does. Use `*` to stand for any run of characters and `?` for a single character. With a pattern of `SKU-*`, a code of `PROD-5` passes while `SKU-1001` fails.
</FormField>

## Sample data

With the pattern set to `SKU-*`, the condition checks whether a product code does *not* start with `SKU-`.

| Field | Value   |
| ----- | ------- |
| Value | `SKU-*` |

| Value      | Result         |
| ---------- | -------------- |
| `PROD-5`   | Matches        |
| `SKU-1001` | Does not match |

```json Configuration theme={null}
{
  "prototype": "string-not-match",
  "parameters": {
    "value": "SKU-*"
  }
}
```
