Mulit line grep

Get help with installation and running here.

Moderators: DataMystic Support, Moderators, DataMystic Support, Moderators, DataMystic Support, Moderators

Post Reply
Posts: 8
Joined: Wed Dec 18, 2013 4:48 pm

Mulit line grep

Post by slouw »

How can I capture a multi line grep from a text file.
There are paragraphs in the file with paragraph start and end signatures which I can identify with Perl regex (my preferred pattern type) as shown in the screenshot.
The existing grep filters had an option for .* to match carriage returns then I think I could do it.
This option I see for find/replace filters not grep.

Many thanks for any reply

User avatar
DataMystic Support
Site Admin
Posts: 2227
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia

Re: Mulit line grep

Post by DataMystic Support »

Just use the search/replace filter with the Extract option checked, and with output to a new file.

Use this pattern:

Code: Select all

And replace with

Code: Select all

Post Reply