View Single Post
Old 01-19-2011, 07:56 AM   #45
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,450
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by beckywc View Post
1/18/2011
Last Page Read: Location 5507 (99%)

This one the date didn't show it still contains the comments and the annotation in the field.

It's weird that some changed to just the date and some still has everything.
This is yet another example of a different date format. For this one, the month is only one character instead of 2. Again, I didn't know this could happen, so the template didn't take it into account.

Try:
Code:
{comments:'contains($, 'Last Page Read:', re($, '(?is).*\s(\d+[-/]\d+[-/]\d\d\d\d).*?Last Page Read:.*', '\1'), 'Not Read')'}
Are there any more variations that must be accounted for?
chaley is offline   Reply With Quote