Quote:
Originally Posted by bob_tm
My mistake in the original post (som errors there - sorry).
9781416585855TEXT.indd 57<br>
You suggested:
\d+TEXT\.indd \s\ d+<br>
I suggest:
\d+TEXT\.indd\s+\d+<br>
For:
25/11/09 3:31:56 PM<br>
You suggested:
25/11/09\s\d+\:d+\:d+ PM<br>
I suggest (note the misplaced "\" above that originated from my typos):
25/11/09\s\d+:\d+:\d+\s+PM<br>
Sorry about this. Hopefully the regexps make more sense as written here (though they could be wrong too). All you should need here are normal text, \s and \d for white space and digit and the '+'-suffix to these in order to denote "one or more occurrences".
bob_tm
|
You are so quick!
We are getting there. The 2nd one found 311 instances but the 3rd one still doesn't find any.
EDIT: Got it! The 3rd line that works is:
25/11/09\s+\d+:\d+:\d+\s+PM<br>
The s becomes s+ as I think there are 2 spaces after the date.
That has been a most edifying experience. Thanks for all your input.