> For the complete documentation index, see [llms.txt](https://docs.cloud.hoverfly.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloud.hoverfly.io/create-simulations/using-templating-in-simulations/validation-operations.md).

# Validation operations

| **Description**                          | **Example**                                                                                                  | **Result** |
| ---------------------------------------- | ------------------------------------------------------------------------------------------------------------ | ---------- |
| Is the value numeric                     | {{isNumeric '12.3'}}                                                                                         | true       |
| Is the value alphanumeric                | {{isAlphanumeric 'abc!@123'}}                                                                                | false      |
| Is the value a boolean                   | <p>{{isBool (Request.Body 'jsonpath' '$.paidInFull')}}</p><p>Where the payload is {“paidInFull”:”false”}</p> | true       |
| Is one value greater than another        | <p>{{isGreaterThan (Request.Body 'jsonpath' '$.age') 25}}</p><p>Where the payload is {“age”:”19”}</p>        | false      |
| Is one value less than another           | <p>{{isLessThan (Request.Body 'jsonpath' '$.age') 25}}</p><p>Where the payload is {“age”:”19”}</p>           | true       |
| Is a value between two values            | <p>{{isBetween (Request.Body 'jsonpath' '$.age') 25 35}}</p><p>Where the payload is {“age”:”19”}</p>         | false      |
| Does a string match a regular expression | {{matchesRegex '2022-09-27' '^\d{4}-\d{2}-\d{2}$'}}                                                          | true       |
