I have this line:
;Last updated: Sunday, January 23, 2011
I would like to replace the date with the current time. So, I used replace-regxp with the following key combinations:
M-x replace-regexp RET \(Last updated: \)[A-Z ,]*[0-9 ,]* RET \1\,(format-time-string "%A, %B %e, %Y")
But this yields the following result:
;Last updated: Tuesday, January 25, 2011unday, January 23, 2011
How can I get replace-regexp to replace the whole of the old date instead of just the first letter?