On Tue, Nov 27, 2012 at 11:48:20AM -0300, Francisco A. Hirsch wrote:
> I have lots of documents that have, dispersed through the text, upper cases 
> lines.
> These are lines that start at the left margin and end with a carriage return.
> There may be . ; -  interposed through the text.
> I need to capture them to convert them to Capitalized Words or Capitalize 
> Sentences depending on the previous or next sentence.
> My question is how do I grep so that I can do that?

Try this regular expression:

^[A-Z .;\-]+$

Ronald

-- 
-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem, 
please email "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>



Reply via email to