Regex tester
Pattern
Input
Text 
On a Line "but
not inside quotes" yes
here
Options
Replacement
Click the context tab to see replacements.
3 matches found in about 1 millisecond.
IndexPositionMatched String
00Text
17On a Line "but
not inside quotes" yes
247here
Text On a Line "but
​not inside quotes" yeshere
  1. empty string
  2. whitespace
  3. whitespace
  4. empty string