<p dir="auto">In other IDEs I used to simple copy a line break and paste it to the find text box. Then I could replace it with some other string.</p>
<p dir="auto">I tried to do it with regex find using "\n" or "\r" and I had no luck either.</p>
<p dir="auto">This is very helpful when creating db queries or csv files on the fly by replacing line breaks with strings like: '");' or whenever you detect  some char (like &gt;) you can replace it with a breakline.</p>
<p dir="auto">Thanks a lot!</p>
<p dir="auto">The Find dialog (Ctrl+F) does not allow multi-line finds using the <code class="notranslate">\n</code> character as it currently considers each line individually. See <a href="https://github.com/Microsoft/vscode/blob/master/src/vs/editor/common/model/textModel.ts"><code class="notranslate">TextModel._doFindMatches</code></a></p>
<p dir="auto"><em>Created out of a discussion in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="117904229" data-permission-text="Title is private" data-url="https://github.com/microsoft/vscode/issues/278" data-hovercard-type="issue" data-hovercard-url="/microsoft/vscode/issues/278/hovercard" href="https://github.com/microsoft/vscode/issues/278">#278</a></em></p>