Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 05-21-2015, 07:16 AM
gmayor's Avatar
gmayor gmayor is offline Find and Replace - How to insert brackets around all numbers in a doc Windows 7 64bit Find and Replace - How to insert brackets around all numbers in a doc Office 2010 32bit
Expert
 
Join Date: Aug 2014
Posts: 4,137
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 ofgmayor has much to be proud of
Default

The wildcard '*' is a blunt instrument and should be treated with caution ... and you only need two pairs of brackets in the search string. I would have suggested

(Section )([0-9.]{3,})
replace with
\1[\2]

See 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
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Find and replace BETWEEN numbers WordUser2015 Word 4 12-19-2014 02:09 PM
find and replace consecutive numbers kpl_39 Word 1 06-07-2013 05:04 AM
Find and Replace - How to insert brackets around all numbers in a doc Find/Replace Brackets Problem fatso Word 2 08-04-2011 11:34 AM
Find and Replace - How to insert brackets around all numbers in a doc Find & Replace formula for numbers? Griff Word 4 04-18-2011 02:47 AM
Find & Replace Insert Issue mipacker Word 0 02-18-2009 08:59 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:16 AM.


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