Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-29-2021, 09:56 AM
Alexander1980 Alexander1980 is offline Little problem with Find and replace feature Windows 10 Little problem with Find and replace feature Office 97-2003
Novice
Little problem with Find and replace feature
 
Join Date: Nov 2021
Posts: 2
Alexander1980 is on a distinguished road
Default Little problem with Find and replace feature

Hello, I was looking for a method to change the format between two characters (Round brackets for example). After a short search I found out the method is to use wildcards and a function like this:

(\[)(*)(\])

With this I can apply whatever format I want to text between "[" and "]"

However



With this method it also applies the format to the brackets themselves [ ], and I can't figure out how to exclude the brackets from the formatting while still applying to all the text between the brackets...

I still use Word 2003

Any help would be great ~
Reply With Quote
  #2  
Old 11-29-2021, 07:34 PM
Guessed's Avatar
Guessed Guessed is offline Little problem with Find and replace feature Windows 10 Little problem with Find and replace feature Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,932
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

You would need a series of search and replaces to achieve this
First find puts unique content inside the brackets eg
[xyz] becomes [||xyz|]

Then format the inner set by finding the ||(*)|

Then remove the unique content you added.

Alternatively, you can reformat the [] symbols after the initial replace
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
  #3  
Old 11-30-2021, 04:24 AM
Alexander1980 Alexander1980 is offline Little problem with Find and replace feature Windows 10 Little problem with Find and replace feature Office 97-2003
Novice
Little problem with Find and replace feature
 
Join Date: Nov 2021
Posts: 2
Alexander1980 is on a distinguished road
Default

Yeah I thought of doing something similar, I was hoping I could do it in one single command tho, well thanks anyway ~
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Little problem with Find and replace feature Problem with Find & Replace and Parentheses WaltR Word 6 11-17-2015 04:51 PM
Little problem with Find and replace feature Find and replace with a macro, problem with letter case garcanrya Word VBA 2 01-10-2014 05:40 AM
problem with find/replace cpm Word 2 11-16-2013 04:06 PM
Problem with find and replace grapes Word 10 12-13-2012 02:54 PM
Little problem with Find and replace feature Find/Replace Brackets Problem fatso Word 2 08-04-2011 11:34 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:58 AM.


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