Anton Arhipov wrote at Tue, 26 Aug 2003 13:02:00 +0300:

> i've a string like "BLAH" (guotes included).
> i need to control if the BLAH is in uppercase and then if it is in 
> uppercase truncate the quotes ("), so "BLAH" becomes BLAH.

s/"([A-Z]+)"/$1/g;

or on a POSIX operating system I would prefer the more appropriate
character class

s/"([[:upper:]]+)"/$1/g;


Greetings,
Janek

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to