R

TestRegex

Newline

\n

Insert a newline character.

Examples

PCRE PYTHON JAVASCRIPT

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-slash-n">See details</a></small>