EmEditor Home - EmEditor Help - How to - Search

To Specify New Lines

The following tables show how to specify new lines.

Find Dialog box, Replace dialog box - Find, Replace with

Use Regular Expressions is on \n or \r\n (same meaning)
Use Regular Expressions is off (Use Escape Sequence) \n or \r\n (same meaning)

Find in Files dialog box, Replace in Files dialog box - Find

Use Regular Expressions is on \r\n, \r, or \n (depends on actual new line method)
Use Regular Expressions is off (Use Escape Sequence) \n or \r\n (same meaning)

Replace in Files dialog box - Replace with

Keep Modified Files Open is on Keep Modified Files Open is off
Use Regular Expressions is on \r\n, \r, or \n (depends on actual new line method) \r\n, \r, or \n (depends on actual new line method)
Use Regular Expressions is off (Use Escape Sequence) \n or \r\n (same meaning) \r\n, \r, or \n (depends on actual new line method)

Tips

Copyright 2003-2014 by Emurasoft, Inc.