![]() |
#1
|
|||
|
|||
![]()
I have a document that has the time or the date and time enclosed in [ ] at the start of every line as per below.
[12:14:16 PM] ld asdd sdad [25/03/2013 10:35:45 AM] sds dssdffd sdfsdf All dates and times are different. I wish to delete the [] and everything in between them. I have tried using wild card replacing but have not been successful. How do I go about doing this? Bob Last edited by Barcode; 04-03-2013 at 09:40 PM. |
#2
|
||||
|
||||
![]()
You can do the with a wildcard Find/Replace, where:
Find = \[*\] Replace = nothing
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
|||
|
|||
![]()
Paul
Thank you very much for replying. I tried that and I get 0 replacements Bob |
#4
|
||||
|
||||
![]()
Did you check the 'use wildcards' option?
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#5
|
|||
|
|||
![]()
No I didn't. It now works a treat. Thanks for your help Paul, much appreciated.
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Roscoe | Word VBA | 7 | 07-31-2017 04:02 PM |
![]() |
iiiiifffff | Word VBA | 16 | 06-04-2016 01:47 AM |
![]() |
errtu | Word | 1 | 01-31-2013 02:09 PM |
Mac Word - replace within selected text only. | bakerbj | Word | 0 | 10-31-2011 11:47 PM |
Replace formatting with text | eyehefbee | Word | 2 | 11-09-2009 02:41 AM |