Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

search for 2 strings in the same line, what is the regex?

6:57 pm on Feb 28, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Dec 8, 2003
votes: 0


I want to search for 2 strings that occur in the same line, what would the regex look like?

i.e. say I want to search all files that contain the word 'webmaster' and 'salary' in the same line.