Title

Message

Confirm

<< DiscussionsReply

regular expression to find CR and LF

Avatar from Gravatar.com
Adrian P Robson
2 discussion posts
I am trying to find files with UNIX end of line coding. That is files terminated by LF rather than CFLF.

However, when I use \r or \n in a regular expression, I do not find anything. The tab \t works.
I looked for an option to select single or multi line mode, but could not find anything.

Can anyone help or is not possible to search for end of lines in Fileseek?
Nov 11, 2012  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Unfortunately, due to the way that FileSeek processes each line during the search, it's not possible to search for \r or \n.

However, I did find a free tool that should help you do what you're looking for: http://code.google.com/p/grepwin/

Just use .\n as the Regex search and you should be all set. I've attached a screenshot for reference.
Nov 15, 2012  • #2
Avatar from Gravatar.com
Adrian P Robson
2 discussion posts
Keith,

The tool you recommended was just what I needed.

Thanks
Adrian
Mar 1, 2013  • #3
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Excellent, glad to hear it!
Mar 2, 2013  • #4
Was this helpful?  Login to Vote  Login to Vote
<< DiscussionsReply