R

TestRegex

Multiline

m

The ^ and $ anchors now match at the beginning/end of each line respectively, instead of beginning/end of the entire string.

Examples

JAVASCRIPT PYTHON PCRE

Share & Embed

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

<!-- Embed Regex Token: m -->
<code class="regex-token">m</code> - Multiline
<small><a href="https://testregex.com/cheatsheet/multiline">See details</a></small>