in reply to how should i test whether a string contains between 6 and 20 letters and numbers

Well - this lets UNICODE letters in the door - but it is letters or numbers...
if ($s=~ /^ [^\W_]{6,20} $/x) { print "success!"; }
my @a=qw(random brilliant braindead); print $a[rand(@a)];
  • Comment on Re: how should i test whether a string contains between 6 and 20 letters and numbers
  • Download Code