View Single Post
  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Stefan Blom[_3_] Stefan Blom[_3_] is offline
external usenet poster
 
Posts: 6,897
Default How to replace text with [ ] around it?

If you set "Find what" to \[*\] and leave "Replace with" blank, it should
work.

I'm assuming that there are no other [] in the document that you want to
keep.

--
Stefan Blom
Microsoft Word MVP




"Barcode" wrote in message
...

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
[12:14:46 PM] sususuhbhg shsygd sfsf

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? Word 2010.

Bob




--
Barcode