From: Joe Blow Date: 2009-01-07T08:50:37+09:00 Subject: Simple Regexp help How can I test a word to make sure it ONLY contains certain characters? Say i have an expression like /[A-Z]/i How could i have "Testing" pass but "Testing123" fail? PS. I can not dynamically create the expression so it looks like this /[A-Z{10}]/ -- Posted via http://www.ruby-forum.com/.