![]() |
#1
|
|||
|
|||
![]()
Hi,
I would like to highlight special instances of text in a Word document by using wildcards. I've searched widely, but my particular circumstances don't appear to be catered for. I'd like to transform ALL instances of [word [timestamp]] in a document, e.g. [inaudible [12:34]] so that the square brackets and all the contents are highlighted in yellow in one press, after set-up. I've tried the dialog box for find and replace / wildcards, etc. but cannot find a way through to achieving this with what would ultimately be one button press ! I thought I had it at one point when I set it up, pressed enter, and all my examples were highlighted in yellow... ...BUT the original text was lost, and replaced with hundreds of[*]s. Hope someone can help because the time saved compared to doing this manually would be enormous, Many thanks, Paul |
#2
|
||||
|
||||
![]()
Try searching for this
\[inaudible \[[0-9]{2}:[0-9]{2}\]\] Don't put anything in the replace with field but turn on the highlight setting (and make sure the last used highlight was the colour you want)
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
#3
|
|||
|
|||
![]() Quote:
Thanks, but when I press 'Replace All' it's returning... 'All done. We made 0 replacements'. If I press 'Find Next', it returns... '0 results found'. |
#4
|
||||
|
||||
![]()
Did you check the 'use wildcards' option?
For an ordinary Find/Replace, you might use: Find = [inaudible [^#^#:^#^#]] Replace = ^&
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#5
|
||||
|
||||
![]()
Is there actually some text in your document which is "inaudible " and a time stamp. Just in case you were only giving a random example which doesn't actually exist.
|
#6
|
||||
|
||||
![]()
And, since it might be any word, not just 'inaudible', you might use a wildcard Find/Replace like:
Find =\[<*> \[[0-9]@:[0-9]@\]\] Replace = ^&
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#7
|
|||
|
|||
![]() Quote:
With the Wildcards Option checked, on pressing Replace All, I get: "^# is not a valid special character for the Find What box or is not supported when the Use Wildcards check box is selected". When I uncheck the Use Wildcards check box and press Replace All, I get: "All done. We made 0 replacements". If I press Find Next in either case, I get: No results found. I haven't tried your second suggestion yet ![]() Paul |
#8
|
||||
|
||||
![]() Quote:
Find = [inaudible [^#^#:^#^#]] as an ordinary Find/Replace... In that case, the content isn't as you described...
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#9
|
|||
|
|||
![]() Quote:
Find Next gets: "No results found". But characters Did I stumble across a problem that has no solution?! ![]() thanks, Paul |
#10
|
||||
|
||||
![]()
I repeat:
In that case, the content isn't as you described...
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#11
|
|||
|
|||
![]() Quote:
[inaudible 12:34] Thanks, Paul |
#12
|
|||
|
|||
![]() Quote:
[inaudible 23:45] thanks, Paul |
#13
|
||||
|
||||
![]()
That is NOT what you described in post #1, which was:
Quote:
Try a wildcard Find/Replace like: Find =\[<*> [0-9]@:[0-9]@\] Replace = ^&
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#14
|
|||
|
|||
![]() Quote:
...we're getting closer... I use this, checked the wildcards check box, pressed Replace All and it responded: "All done. We made 54 replacements". However there are only 32 instances of [inaudible 12:34] (with varying time stamps) in the document, and none of them had been highlighted in the chosen colour (yellow). When I did the same with the wildcards check box unchecked it responded: "All done. We made 33 replacements". In this document, which is one of many transcriptions I do, I have variables such as [voices overlap 12:34] and [wordguess 12:34] where I make a guess at an uncertain word. You posted something earlier aimed at dealing with this situation where the text varies, and something to address all of these including "inaudibles" would be the ideal. Apologies to all for leading you up the garden path with incorrect information initially! Paul |
#15
|
|||
|
|||
![]() Quote:
[inaudible 04:22] [in England 05:34] [inaudible 06:07] [voices overlap 07:21] ...and so on. |
![]() |
|
![]() |
||||
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 |
![]() |
ukthesis | Word | 7 | 08-04-2017 07:24 PM |
![]() |
larsmula | Word | 2 | 02-20-2014 09:18 AM |
![]() |
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 |