Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

1376.Text file parser -- How to extract all lines not containing 'ing' and 'and'?

User: Dilip -- 2016-07-24          << 1375  1377 >>
Hits: 1215
Type: Text file parser   
Search all Text file parser examples
Find all sentences using the greedy match (.*) but those matches should not contain
'ing' and 'and'

(.*) must not contain words ending with ing and the word. This is just to find and
detect only
Input Sample:
Fox and the Hen
Fox Hen Barn
Cunning Fox and Ox
Fox with Wolf and Jackal
Fox, Wolf, Ox
Output Sample:
Fox Hen Barn

Fox, Wolf, Ox
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. ctrl-o open text file
2. ctrl-h open 'replace' dialogue
* set 'replace unit' to 'Line'
* set 'if=>' to:

3. click 'replace', done.
4. ctrl-s save to file

Screenshot 1:  Replace_Window

Similar Examples:
How to extract all lines that contain words in a list? (69%)
How to extract all lines that contain words A and B and C? (69%)
How to extract all lines do not contain a list of keywords? (68%)
How to extract all lines that contain A, but not any of B C D? (68%)
How to extract all lines containing words in specified file? (67%)
How to extract all links that contain imprint from a webpage? (66%)
How to extract all lines that containing ABC or DEF with original order? (66%)
How to extract random lines containing specified words? (65%)

Check Demo of Text file parser
detect  sentences  matches  sentence  not containing  extract all lines  find and  find  extract all line  containing  using replace text containing  extract sentences containing  word ending  detect text 2  extract lines containing word  word find replace extract  sentences contain the word replace  extract all lines containing