R

TestRegex

Ignore whitespace

x

This flag tells the engine to ignore all whitespace and allow for comments in the regex. Comments are indicated by a starting "#"-character.

Examples

PYTHON PCRE

Share & Embed

Use this snippet to display this token on your own site.

<!-- Embed Regex Token: x -->
<code class="regex-token">x</code> - Ignore whitespace
<small><a href="https://testregex.com/cheatsheet/ignore-whitespace">See details</a></small>