/(tony|anthony)/i
/(?:tony|anthony)/i

This RegEx will locate a tony, Tony, TONY, Anthony, etc (case
insensitive) anywhere in the string.

Is that what you need?

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to