Home
Tester
Reference
About
Pattern
(\r?\n){2,}|\r?\n
Input
1
2
3
1 2 3
Options
Ignore Case
Ignore Whitespace
Explicit Capture
Culture Invariant
Singleline
Multiline
Right To Left
ECMA Script
Start from position:
Max matches to find:
Replacement
Replace matches with...
$1
Click the
context
tab to see replacements.
Regex Info
Table
Context
Split List
2
matches found in about
10
milliseconds.
Show Permalink
Permalink
Index
Position
Matched String
Replacement
$1
0
1
whitespace
empty string
empty string
1
4
whitespace
whitespace
whitespace
2 captures
whitespace
whitespace
1
2
3
1
2
whitespace
3