How to: Search multiple files for multiple words/phrases

Get help with installation and running here.

Moderators: DataMystic Support, Moderators

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

How to: Search multiple files for multiple words/phrases

Postby DataMystic Support » Wed Jun 15, 2011 12:22 pm

TextPipe is designed to search and replace rather than just search.

However, you can also use it to search for phrases using Filters\Extract\Extract lines matching (grep) – and you can also get context lines before and after, file names and line numbers, just by checking the options.

With the pattern type set to 'Pattern (perl)', or 'Pattern (egrep)', specifying one or more words or phrases like this:

Code: Select all

invoice|purchase order|quote

With the pattern type set to 'Pattern (EasyPattern)', specifying one or more words or phrases like this:

Code: Select all

invoice[or]purchase order[or]quote


The trick is to send the output to the clipboard or a new file using the Output Filter at the bottom of the filter tree.
Regards,

Simon Carter, http://DataMystic.com/forums/index.php
http://PredictBGL.com - Insulin dose calculator for Type 1 diabetes
http://DownloadPipe.com - 250,000 free software downloads
http://DetachPipe.com - send huge email attachments

Return to “TextPipe Tips and Tricks, Questions and Support”

Who is online

Users browsing this forum: No registered users and 2 guests