How can I create a regex expression that will match only letters with numbers?
I\'ve tried something like (?>[A-z]+)([a-z0-9]+).
(?>[A-z]+)([a-z0-9]+)
Don't make it be one regex if you don't have to. Use two regexes that both have to match. In Perl, it would be like this
if ( /[a-zA-Z]/ && /\d/ )