You are here: PSPad forum > English discussion forum > anyway to search multiple words in a line

anyway to search multiple words in a line

#1 anyway to search multiple words in a line

Posted by: Tosh | Date: 10/07/2011 23:39 | IP: IP Logged

Is there anyway to search multiple words in a line?
Say a line has:-
worda wordb wordc
How can I search the file for worda AND wordc
Tosh.

Options: Reply | Quote | Up ^


#2 Re: anyway to search multiple words in a line

Posted by: MrSpock | Date: 10/07/2011 23:55 | IP: IP Logged

The regular expression
worda|wordc
will match both worda and wordc, but I'm not 100% sure that that is what you want.

Options: Reply | Quote | Up ^


#3 Re: anyway to search multiple words in a line

Posted by: chuckf | Date: 10/11/2011 17:02 | IP: IP Logged

turn on reg expressions.
search for:
worda.*wordc

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2013 Jan Fiala
Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák