How to replace text with [ ] around it?

B

Barcode

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 [] an
everything in between them. I have tried using wild card replacing bu
have not been successful.

How do I go about doing this? Word 2010.

Bo
 
B

Barcode

I've now solved the problem. Very simple. I used \[*\] with 'us
wildcards' on.

Bo
 
S

Stefan Blom

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top