Microsoft Office Forums

Go Back   Microsoft Office Forums > Microsoft Word > Word

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 02-08-2013, 01:23 PM
bertietheblue bertietheblue is offline Windows 7 64bit Office 2003
Advanced Beginner
 
Join Date: May 2012
Location: United Kingdom
Posts: 42
bertietheblue is on a distinguished road
Default Wild card to highlight capitalised terms?

Hi all



I want to highlight the initial cap letter of the first word of each sentence and each paragraph in a Word document so that I can ignore these words and search for other (and so non-highlighted) initial cap words. I can highlight the initial caps of words beginning sentences but not paragraphs. Any idea how to do this for paragraphs - is there any wildcard that I can enter and replace with highlight?

Thanks
Bertie
Reply With Quote
  #2  
Old 02-08-2013, 04:36 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 16,644
macropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to behold
Default

You can Find the capitals that being any word with:
Find = <[A-Z]
There is no Find expression that will locate only capitals that begin a sentence. You can find capitals that begin a paragraph, via:
Find = ^13[A-Z]
but be aware that, if you use a replacement expression with this, it will apply to the preceding paragraph break as well. Anything more spohisticated requires a macro.
__________________
Cheers,
Paul Edstein
[MS MVP - Word]
Reply With Quote
  #3  
Old 02-08-2013, 04:44 PM
bertietheblue bertietheblue is offline Windows 7 64bit Office 2003
Advanced Beginner
 
Join Date: May 2012
Location: United Kingdom
Posts: 42
bertietheblue is on a distinguished road
Default

Thanks, exactly what I needed for paragraphs! For sentences, I just replace '. [A-Z]' and '. [A-Z]' with highlight
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I search for terms in initial upper-case? bertietheblue Word 5 05-02-2012 05:24 AM
how to write G1 in terms of B1+value in the cell 5 columns away (which is G1 itself)) Sunny Excel 3 04-20-2012 12:32 AM
NumberFormat: Capitalised Weekday Letters??? tinfanide Excel Programming 3 04-17-2012 04:46 AM
find - reading highlight - highlight all / highlight doesn't stick when saved bobk544 Word 3 04-15-2009 03:31 PM
terms of use heidi Misc 0 01-15-2007 03:01 AM


All times are GMT -7. The time now is 05:10 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
MSOfficeForums.com is not affiliated with Microsoft