Regex tester
Pattern
Input
matches only the end of the input,
even with multiline on,
and even with an extra line break at the end

Options
Replacement
Click the context tab to see replacements.
1 match found in about 0 milliseconds.
IndexPositionMatched String
0107empty string
matches only the end of the input,
​even with multiline on,
​and even with an extra line break at the end
​
  1. matches only the end of the input,
    even with multiline on,
    and even with an extra line break at the end
  2. empty string