GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Notepad++ is there a way to extract all lines that contain a certain search string? (https://gfy.com/showthread.php?t=911323)

d-null 06-18-2009 01:02 PM

Notepad++ is there a way to extract all lines that contain a certain search string?
 
say I have a huge text file that I want to condense down to just the lines that contain a certain word or words


is there an easy way to do this with Notepad++ ?

d-null 06-18-2009 02:10 PM

how about any other easier solutions?

GrouchyAdmin 06-18-2009 02:12 PM

You're looking for 'grep'. Part of unixutils. You can download it by itself. It runs via command line.

Simple use: grep <whatyouwant> filename > foundlines.txt
Case insignicant: grep -i <whatyouwant> filename > foundlines.txt

shimmy2 06-18-2009 04:09 PM

try motepad


All times are GMT -7. The time now is 04:12 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123