R

TestRegex

Newline

\n

Matches a newline character

Examples

JAVASCRIPT PYTHON PCRE

Share & Embed

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

<!-- Embed Regex Token: \n -->
<code class="regex-token">\n</code> - Newline
<small><a href="https://testregex.com/cheatsheet/newline">See details</a></small>