J
Jonathan Driller
Hi,
I am re-writing a PERL script to include form validation. I want to
check if a field has no vowels and only no or 1 letter.
If I check for /[^a|e|i|o|u]/i then "ff" matches (any non-vowel)....
Also, /\w{1}/i matches "fr" - but I want to match only if there is
ONLY one of any letter (any 2+ letter word)...
Also, is there an 'and' like there is an 'or' (eg. '|').
Any help appreciated...
JD
I am re-writing a PERL script to include form validation. I want to
check if a field has no vowels and only no or 1 letter.
If I check for /[^a|e|i|o|u]/i then "ff" matches (any non-vowel)....
Also, /\w{1}/i matches "fr" - but I want to match only if there is
ONLY one of any letter (any 2+ letter word)...
Also, is there an 'and' like there is an 'or' (eg. '|').
Any help appreciated...
JD