in reply to Re: String Validation
in thread String Validation

#!/usr/bin/perl -l use strict; use warnings; my $regexp = qr/^[^A-Z0-9]+$/; print 'abc' =~ $regexp; print 'ABC' =~ $regexp; print 'ab0' =~ $regexp; print '^|+' =~ $regexp; print '' =~ $regexp;
prints
1 (0) (0) 1 (0)