Tapatalk

How to use Find if the searched string wraps over 2 lines?

How to use Find if the searched string wraps over 2 lines?

1
NewbieNewbie
1

Post18:32 - 1 day ago#1

Suppose I have a large text file (talk transcripts) and the searched string or phrase wraps over two lines?
Right now, I first have to convert to some other format like PDF or DOCX.

For example, suppose the search that I am using in Find is: this and that

If the first two words this and occur on line 411 and that is the very next word but is at the beginning of line 412, UltraEdit can't find it.

Is there another way?

6,826625
Grand MasterGrand Master
6,826625

Post9:00 - Today#2

There could be used a Perl regular expression find with this\s+and\s+that as search expression. \s+ means any whitespace character one or more times which matches normal spaces, horizontal tabs, carriage returns, line-feeds and all other whitespace characters according to the Unicode specification which are rarely used in text files.