Regex Cheat Sheet/Ignore case

Enable case-insensitive matching.

Section: Flags and Modes

Ignore case

regex
regex
(?i)error
Explanation

Equivalent to using an external ignore-case flag in many tools.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Flags and Modes
Multiline mode
Let `^` and `$` work per line.
OpenIn sheetregexsame section
Dotall mode
Let dot match newlines.
OpenIn sheetregexsame section
Extended / verbose mode
Allow whitespace and comments inside the regex.
OpenIn sheetregexsame section
Unicode-aware mode
Enable Unicode-aware parsing or matching.
OpenIn sheetregexsame section
Scoped flags
Enable or disable flags for only part of a pattern.
OpenIn sheetregexsame section
Start of string
Match only at the beginning of the input.