Hello there!!
I am new to the RegEx and i want to be able to search and replace particular texts in my text-file. I was able to do most of the searches but here is one that i couldn't quite get the hang of it. I think i should be using the look around/look ahead/look behind. But the tool i'm using says syntax error. Basically here is the data in my file
[2010-01-15 06:18:10.203] [0x00001388] [SHDNT] Shutdown Count Down = 2/5
[2010-01-15 06:18:11.203] [0x00001388] [SHDNT] Shutdown Count Down = 3/5
And i want to be able to capture in my search the '[' and ']' around the date. I thought of finding the '[' using some criteria like( '[' followed by [0-9][0-9] meaning two digits) and the ']' with (']' proceeding'.[0-9][0-9][0-9]' meaning dot and 3digits).
I tried this but it gives error \[(?=[0-9][0-9]) for the first search. Is doesnt allow me to put ? right after the parenthesis.
How should i do the search?
Thanks in advance
EDITED TO ADD
To make it clear i am not using RegEx with any programming language. I am using a Text Editor that has the search and replace function which allows the pattern search. So i want to remove the square brackets around the date. But not change anything else in my file.