Skip to main content

Text & Lists

Case Insensitive Regex Encoder

Convert input into Case Insensitive Regex. Enter the text, set the transformation rules, then copy the result.

Tool workspace

Your input stays in this browser.

Add the required input to continue.

Needs input

You can run the tool again after any change.

Your result appears here

Convert input into Case Insensitive Regex. Enter the text, set the transformation rules, then copy the result.

This tool runs open-source code from CyberChef by GCHQ (Apache License 2.0). See open-source credits.

Case Insensitive Regex Encoder expands letters and ranges so a regex can match both cases without an i flag.

[mM][oO][zZ][iI][lL][lL][aA] Processing runs in the browser.

Instructions

  1. Provide text or data for this tool.
  2. Enter a valid case-sensitive regular expression.
  3. Check ranges and escaped characters in the expanded result.
  4. Test the generated expression in the target engine.

Example

Input: Mozilla

Settings: Case Insensitive Regex Encoder: Run with the operation's empty settings panel.

Result: [mM][oO][zZ][iI][lL][lL][aA]

Limits

  • Case Insensitive Regex Encoder: Invalid regular expressions raise an operation error.
  • Case Insensitive Regex Encoder: Expanded patterns can become much longer than the source.
  • Case Insensitive Regex Encoder: The operation runs in the browser and does not need a network service.