# To Case Insensitive Regex

Converts a case-sensitive regex string into a case-insensitive regex string in case the i flag is unavailable to you. For example, `Mozilla/[0-9].[0-9] .*` becomes `[mM][oO][zZ][iI][lL][lL][aA]/[0-9].[0-9] .*`. To Case Insensitive Regex lives in the **Utils** category of the `fx` menu.

## Parameter

| Parameter | Type   | Required | Default | Description                                            |
| --------- | ------ | -------- | ------- | ------------------------------------------------------ |
| Input     | string | yes      | —       | Value to transform. Previous step output or a literal. |

`Input` is the primary value (previous step output or a literal).

## Returned value

| Type     | Description                                             |
| -------- | ------------------------------------------------------- |
| `string` | Result of the To Case Insensitive Regex transformation. |

## Example

<details>
<summary>Run To Case Insensitive Regex</summary>

Converts a case-sensitive regex string into a case-insensitive regex string in case the i flag is unavailable to you. Adjust optional parameters when the defaults do not match your payload.

1. Set **Input** to the value to transform. Paste:

   ```text title="Input"
   Mozilla/[0-9].[0-9] .*
   ```

2. Confirm **Output value** matches the expected result (for example `[mM][oO][zZ][iI][lL][lL][aA]/[0-9].[0-9] .*`).

</details>
