Page 1 of 1

Remove DateTimestamp from String Options

Posted: Mon Oct 06, 2008 3:37 pm
by steve1040
All,
I'm working with a list of filenames that contain a datetime stamp.



example: "Change 69231 Ticket2008-10-01 14.48.18.953.xls"
example: "Somename2008-10-01 14.48.18.953.pdf"
example: "AnotherReport2008-10-01 14.48.18.953.htm"


Would like to change to "Change 69231 Ticket.xls" or "Somename.pdf" or "AnotherReport.htm"

Looking for an expression
How can I find and delete the timestamp within a string like the
above.

Thx
Steve

Posted: Mon Oct 06, 2008 5:18 pm
by ben_josephs
Find what: [0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}\.[0-9]{2}\.[0-9]{2}\.[0-9]{3}
Replace with: [nothing]

[X] Regular expression

Replace All