I have a search problem so I decided to use RegEx to solve the problem...
Now I have two problems.
I could use any help,
What would be a RegEx search expression that would find both of the following two items?
[13:21:51 INF]
[13:24:00 DBG]
some content in square brackets where the first two characters are 13 and it is followed by a space.
@XSGeek - been too long since I got a chance to play with regex.
It's like putting on an old favorite t-shirt.
@XSGeek - and you may need to remove the opening bracket - (copy and paste)
@XSGeek - and if it's in N++ - remove the opening and trailing slashes.
@XSGeek - so... to be clear: try this one
13(:\d\d){2}\s+(INF|DBG)
(removing surrounders, and making an assumption that there may be more than 1 space between TS and tag)
\[13.*[ ].*\]
That maybe? Matches brackets, 13, any number of characters, space, any number of characters, bracket. Remove ^ and $ most likely though.
Tears and sadness that comes with dealing with Regex?
@XSGeek -
/[13(:\d\d){2}\s(INF|DBG)/
(assuming /<stuff>/ is your "This is regex" quotes)