Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 05-12-2019, 03:57 AM
Paul Cardin Paul Cardin is offline Using wildcards to highlight certain text Windows 10 Using wildcards to highlight certain text Office 2016
Novice
Using wildcards to highlight certain text
 
Join Date: May 2019
Location: Wirral, Merseyside
Posts: 8
Paul Cardin is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
That is NOT what you described in post #1, which was:

Your [inaudible 23:45] lacks the square brackets around the time!

Try a wildcard Find/Replace like:
Find =\[<*> [0-9]@:[0-9]@\]
Replace = ^&
Just discovered, when I press Find Next, it highlights in grey perfectly the limits of each example including all varied texts, as follows:

[inaudible 04:22]

[in England 05:34]

[inaudible 06:07]

[voices overlap 07:21]



...and so on.
Reply With Quote
  #2  
Old 05-12-2019, 04:15 AM
macropod's Avatar
macropod macropod is offline Using wildcards to highlight certain text Windows 7 64bit Using wildcards to highlight certain text Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by Paul Cardin View Post
Just discovered, when I press Find Next, it highlights in grey perfectly the limits of each example including all varied texts, as follows:

[inaudible 04:22]

[in England 05:34]

[inaudible 06:07]

[voices overlap 07:21]

...and so on.
In which case, unless you messed up the Replace part and/or the default highlighting, they'd all be highlighted.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 05-12-2022, 03:29 AM
NaomiQld NaomiQld is offline Using wildcards to highlight certain text Windows 10 Using wildcards to highlight certain text Office 2010
Novice
 
Join Date: May 2022
Posts: 1
NaomiQld is on a distinguished road
Default Try this

For anyone else curious about this - as I was - I have just worked out an easy way to do this. I have just finished a massive transcript and also wanted to highlight the timestamps, e.g. "The quick brown fox [0:04:10] lazy dog, but I only want the numbers highlighted. This is how I did it -
A simple Search and Replace:


Find: ^#:^#^#:^#^#
Replace with ^&
Format: Highlight



And then for extra efficiency, I've made it a macro to run at the end of of my document.
Reply With Quote
  #4  
Old 05-12-2022, 04:56 PM
macropod's Avatar
macropod macropod is offline Using wildcards to highlight certain text Windows 10 Using wildcards to highlight certain text Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

That was already described in post #4...
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
like to highlight web text, enter cntl key, have text appended to same onenote pate bobk544 OneNote 0 12-10-2017 11:49 AM
Using wildcards to highlight certain text Using the mouse to highlight text ukthesis Word 7 08-04-2017 07:24 PM
Using wildcards to highlight certain text word wildcards I need to replace actual text that contains [ and ] larsmula Word 2 02-20-2014 09:18 AM
Using wildcards to highlight certain text Help with replacing text with wildcards sbatson5 Word 2 04-13-2012 03:49 AM
find - reading highlight - highlight all / highlight doesn't stick when saved bobk544 Word 3 04-15-2009 03:31 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:43 PM.


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