Regcode Docs Regcode Docs
  • getting started

    • Introduction
    • Syntax
    • Installation
    • Examples
  • logic

    • Or
    • Quantifers
  • values

    • [any]
    • [character]
    • [end]
    • [newline]
    • [notCharacter]
    • [notNumber]
    • [notWhitespace]
    • [number]
    • [special]
    • [start]
    • [tab]
    • [whitespace]
  • methods

    • normal()
    • exact()
    • regex()
    • oneOf()
    • notOneOf()
    • hasAfter()
    • notAfter()
    • hasBefore()
    • notBefore()
    • word()
  • flags

    • <dotAll>
    • <ignoreCase>
    • <matchAll>
    • <multiline>
    • <unicode>
  • More

[newline]

The newline value represents a normal newline which can occur in a string, adapted for both Windows, Linux and Mac.

Usage

[newline]

Regex

(\r\n|\r|\n)
Edit this page on GitHub
[end] [notCharacter]

On this page

  • Usage
  • Regex