Re: Regular Expression Question: How To Search For Section Titles

 That looks close to me.  I did not test it out, but it looks correct except I 
think you would want to include zero as a valid last character.  

Don Marang

There is just so much stuff in the world that, to me, is devoid of any real 
substance, value, and content that I just try to make sure that I am working on 
things that matter. 
Dean Kamen 



From: Homme, James 
Sent: Friday, August 06, 2010 9:42 AM
To: programmingblind@xxxxxxxxxxxxx 
Subject: Regular Expression Question: How To Search For Section Titles


Hi,

How would you construct a regular expression that looks for the first letter of 
any line in upper case followed by the rest of the line as long as it ends with 
a letter or number?  Would it be something like this?

^[A-Z].*[A-Z|a-z|1-9]$

 

Thanks.

 

Jim

 

Jim Homme,

Usability Services,

Phone: 412-544-1810. Skype: jim.homme

Internal recipients,  Read my accessibility blog. Discuss accessibility here. 
Accessibility Wiki: Breaking news and accessibility advice

 



--------------------------------------------------------------------------------
This e-mail and any attachments to it are confidential and are intended solely 
for use of the individual or entity to whom they are addressed. If you have 
received this e-mail in error, please notify the sender immediately and then 
delete it. If you are not the intended recipient, you must not keep, use, 
disclose, copy or distribute this e-mail without the author's prior permission. 
The views expressed in this e-mail message do not necessarily represent the 
views of Highmark Inc., its subsidiaries, or affiliates.

Other related posts: