Hi all,

I want to check if in a string there are more than 3 capital letters.
I've tried using:

if ($string=~ /[A-Z]{3,}/) {
....
}

This match at least 3 capitals only if they are one after another.
I want to check if the string contains at least 3 capitals, doesn't matter
how are they positioned.

For example, I want to match this string: "AxxxBxxxCxxx".

Thank you for any tips.

Teddy,
[EMAIL PROTECTED]



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

Reply via email to