RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Error|Warning|Exception
Expression
(?:Error|Warning|Exception)
Description
Find any and all occurences of any of the three terms "Error" "Warning" "Exception" in a log or txt file. Use this as a filter with TextAnalysisTool.NET for quick parsing of log files when looking for errors
Matches
2009-11-07 08:04:49.401 UTC Warning w3wp.24 SoapUtilities.CreateException ThrowException: actor = http://servername.subdomain.domain.com:8530/SimpleAuthWebService/SimpleAuth.asmx, ID=9ea54fc1-1351-4fb3-a6a3-ba52d5bd4671, ErrorCode=InternalServerError, Message=, Client=?
Non-Matches
Any log/text file that does not contain the words in the expression
Author Rating: The rating for this expression. David Kirchmer
Source I use Expresso 3.0 to help validate/test the syntax
Your Rating
Bad Good

Enter New Comment

Title

Name

Comment

Spammers suck - we apologize. Please enter the text shown below to enable your comment (not case sensitive - try as many times as you need to if the first ones are too hard):

Existing User Comments

Copyright © 2001-2025, RegexAdvice.com | ASP.NET Tutorials