$_ !~ /[a-z]/
Easy enough!
hth
Chris
> -----Original Message-----
> From: KEVIN ZEMBOWER [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 23, 2001 8:49 AM
> To: <
> Subject: Need regex to match all UPPERCASE letters?
>
>
> I need help writing a regular expression that will match
> lines that have only upper case letters, and sometimes
> slashes and spaces, but won't match lines with mixed case.
>
> Lines that must be matched are like:
> FAMILY PLANNING / REPRODUCTIVE HEALTH POLICY
> FAMILY PLANNING / REPRODUCTIVE HEALTH PROJECTS
> PUBLIC HEALTH
> HIV/AIDS
>
> Lines that must NOT be matched include:
> Renewed Hope for the World's Children
> http://www.earthtimes.org/jul/childrenrenewedhopejul12_01.htm
> AIDS, TB, and Malnutrition Are Triple Threat in Haiti
>
> Any suggestions are welcomed. Thank you for helping me with
> my problem.
>
> -Kevin Zembower
>
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]