Best Editor for working with Log files and Regex support
Best Editor for working with Log files -Editpad Lite or Pro
Download
https://www.editpadlite.com/
Online Regex Testing site :
http://regexr.com/
http://www.regexe.com/
http://myregexp.com/
RegEx Cheat sheet
https://www.cheatography.com/davechild/cheat-sheets/regular-expressions/
Common Examples:
*
Ah* matches "Ahhhhh" or "A"
?
Ah? matches "Al" or "Ah"
+
Ah+ matches "Ah" or "Ahhh" but not "A"
\
Hungry\? matches "Hungry?"
.
do.* matches "dog", "door", "dot", etc.
( )
See example for |
[ ]
[cbf]ar matches "car", "bar", or "far"
[0-9]+ matches any positive integer
[a-zA-Z] matches ascii letters a-z (uppercase and lower case)
[^0-9] matches any character not 0-9.
|
(Mon)|(Tues)day matches "Monday" or "Tuesday"
{ }
[0-9]{3} matches "315" but not "31"
[0-9]{2,4} matches "12", "123", and "1234"
[0-9]{2,} matches "1234567..."
^
^http matches strings that begin with http, such as a url.
[^0-9] matches any character not 0-9.
$
ing$ matches "exciting" but not "ingenious"