Find Sentences that contain a specific word

A swapping-ground for Regular Expression syntax

Find Sentences that contain a specific word

Postby emusso » Thu Oct 02, 2008 7:32 pm

I think regular expressions would be the way to go, but I have a document where I would like to find and remove all the sentences (entire sentence) that contain the word "word".
Can and I use a regular expression to find these occurrences? If so, could someone help me??

Thanks so much!!

em
emusso
 
Posts: 5
Joined: Wed Apr 18, 2007 2:22 pm

Re: Find Sentences that contain a specific word

Postby jimwillsher » Fri Oct 03, 2008 7:18 am

Hi,

Yes, RegExps would be the wawy to go - but not using BRU! BRU is designed for renaming files, not the contents of the files.

If your document is a plain text file then take a look at UltraEdit. It provides extensive support for REs and you can use them in the search and replace function.



Jim
jimwillsher
 
Posts: 63
Joined: Wed Sep 24, 2008 1:22 pm


Return to Regular Expressions