Got more questions? Find advice on: ASP | SQL | XML | Windows
Welcome to RegexAdvice Sign in | Join | Help

fetch lines with two or three words

  •  07-30-2008, 5:08 PM

    fetch lines with two or three words

    Hi I am looking for a way I can use regex with grep (unix) or textpad (windows) to look information from specific lines.

    Currently my application logs lots of information and logs are very huge. I need to look for specific words to locate if that is the particular line I am looking for.

    Words are like "NOAM.CORP.COM", "TOTAL" and "LOGIN". If all these three words are present then I need to pick that line.

    Please advise a regex here.

    Thanks,

    Praveen.

     

View Complete Thread