>On Thursday, February 27, 2020 at 5:33:45 AM UTC-8, Mohannad Mahmoud wrote:
>>I am trying to copy a search pattern to a new document. I am
>>not sure this can be done in Canonize or Processing Lines Containing
>Does this work for you?
>
>\A.*?\n.*?\n.*?\n.*?\n.*?\n
Note that "Process Lines Containing" works on *lines*, and so
any pattern that requires crossing line boundaries will never match.
However, assuming that you have a matching pattern (which you
can easily test using a Pattern Playground or the Find window
itself), the "Extract" button in the Find window may do what you
need; leave the "Replace" field blank and click that button, and
all of the matches for the pattern will be copied to a new window.