Find a word in a column then copy the entire row utility?

Soldato
Joined
10 Mar 2003
Posts
6,867
Sounds strange (I know!)

Basically we have a data extract that looks similar to below:

0xxxxxxx332x help sidaiddas8d7u978
0xxxxxxx332x strange sjdfasdsad989
0xxxxxxx332x banana fdsjfdsfsdfdsf

What I need is a utility that will search through the text file find the word 'strange' or whatever and copy that row so the output if I searched for strange would be:

0xxxxxxx332x strange sjdfasdsad989

However this could appear multiple times in the document.

Any ideas?


M.
 
Thanks - Marc2003 would be excellent if I could search for longer strings (say up to 250 characters per line). I'm having a look at findstr now but as a user is going to use it - the PHP version may be better.



M.
 
Back
Top Bottom