Section: Flags and Modes

Dotall mode

regex
regex
(?s)<script.*?</script>
Explanation

Useful when matching across line breaks.

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
Ignore case
Enable case-insensitive matching.
OpenIn sheetregexsame section
Multiline mode
Let `^` and `$` work per line.
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.