Graeme McLaren [GM], on Wednesday, April 13, 2005 at 11:23 (+0100)
thoughtfully wrote the following:

GM> /^[\w ,.!?\-'"\(\)\s]+$/

string have to start and end (so string must contain) these
characters: [a-zA-Z0-9_-(white_spaces)...]
and all strings you can see there.
also " " therese should't be. So these strings will match:

"this is test"
"02 93,-?"

this will not:
"before @"

you should learn regexp, this was easy.

-- 

 ...m8s, cu l8r, Brano.

[If the price is a dream then support is a nightmare.]



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to