Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-19-2017, 10:14 PM
IntestinalWorm IntestinalWorm is offline Word 2010 - Remove square-bracket encased string in large document Windows 10 Word 2010 - Remove square-bracket encased string in large document Office 2010 64bit
Novice
Word 2010 - Remove square-bracket encased string in large document
 
Join Date: Jun 2017
Posts: 1
IntestinalWorm is on a distinguished road
Default Word 2010 - Remove square-bracket encased string in large document

I thought this would be easy (I am only an occasional Word user) and perhaps I am missing the obvious. I have inherited a very long document with hundreds of lines containing the string: [xxxx]. The x is a digit 0-9 and the brackets are square. With the [ ] being special characters maybe that is my problem? I'm just unable to work out how to search the document for all instances of [xxxx] and just remove them?



How do I remove all the instances of [xxxx] in the document?

Any help would be much appreciated less I spend several hours removing all the [xxxx] manually!!!!
Reply With Quote
  #2  
Old 06-20-2017, 01:14 AM
gmayor's Avatar
gmayor gmayor is offline Word 2010 - Remove square-bracket encased string in large document Windows 10 Word 2010 - Remove square-bracket encased string in large document Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,103
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

Search for
\[*\]
with the wildcard option set and replace with nothing.
This will leave (in many cases) two spaces. You can either add a space before the search string or replace two spaces with one subsequently.
http://www.gmayor.com/replace_using_wildcards.htm
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Word document won't save too large? sis1of4ch Word 5 05-30-2015 07:02 AM
Separate/ Remove digits from a string of Numbers QA_Compliance_Advisor Excel 3 07-23-2014 04:59 AM
Word 2010 - Remove square-bracket encased string in large document What is this small square icon in my Word document? ravl13 Word 2 05-20-2014 04:36 PM
Large Word Document file diya Word 0 10-19-2011 12:06 AM
Angle Bracket Problem, STYLEREF in Header of a Protected Document wordjunkie Word 0 06-18-2010 04:34 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:16 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft