Lee_Page
(Lee Page)
July 25, 2013, 2:55pm
1
2013-07-24 23:59:59 - 0964865048650498650498650498650498604986504865
2013-07-24 23:58:59 - 1111111111111111111111111111111111111111111111
2013-07-24 23:56:59 - 0964865048650498650498650498650498604986504865
2013-07-24 23:55:59 - 0964865048650498650498650498650498604986504865
2013-07-24 23:54:59 - 0964865048650498650498650498650498604986504865
2013-07-24 23:53:59 - 6666666667888888888888888888888888866666666666
2013-07-24 23:52:59 - 0964865048650498650498650498650498604986504865
In the above example does anyone know of a regex pattern to extract all text data between two dates/times.
Thanks
Norman_P
(Norman P)
July 25, 2013, 3:11pm
2
It it always a timestamp followed by some data then an end of line ?
If you want to extract:
0964865048650498650498650498650498604986504865
1111111111111111111111111111111111111111111111
0964865048650498650498650498650498604986504865
0964865048650498650498650498650498604986504865
0964865048650498650498650498650498604986504865
6666666667888888888888888888888888866666666666
0964865048650498650498650498650498604986504865
The simplest pattern based on this data is code - (.*)[/code]. It simply looks for the space-dash-space combination and grabs everything after it. The data will be in SubExpressionString(1) of every match.