Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
The field i am checking could be eg.. this is the day (Is there a way in the above code to allow a space) Any help would be appreciatedif ( $subject !~ /^[a-zA-Z1-9.]+$/ ) {
Updated Steve_p - added code tags
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Allow a space in string verification
by Roy Johnson (Monsignor) on May 09, 2005 at 22:46 UTC | |
|
Re: Allow a space in string verification
by sh1tn (Priest) on May 09, 2005 at 23:11 UTC | |
by Anonymous Monk on May 09, 2005 at 23:53 UTC | |
|
Re: Allow a space in string verification
by tlm (Prior) on May 09, 2005 at 23:56 UTC |