in reply to Allow a space in string verification

/^(?:\s*\w+\s*)+$/ # if you mean a-z A-Z 0-9 space and '_'
Please, take a look at Regex::Common or just perlre.


Replies are listed 'Best First'.
Re^2: Allow a space in string verification
by Anonymous Monk on May 09, 2005 at 23:53 UTC
    sh1tn Thanks for your reply, i had tried using a space ,litterally, rather than space. All working ok now. Thanks again