P
Peted
Hi
i can use the following
^([\w\.]|\s)*$
to validate a textbox input, this ensure input is limited to
Aplhanumeric characters, full stops and spaces. I have tested this and
it seems to all work, but what i cannot get to function is a way to
have the above yet prevent the textbox ONLY having spaces entered. The
regexp string above will validate input if only spaces are entered an
i dont want that
I need input resticted to that the above exp will allow, in addition,
i need to have a way to test,
IF there is input in the textbox,
(because there maybe NO input)
it is only alpha numeric, with a selection of
punctuation marks allowed and spaces allowed
and that it is NOT consist only of spaces.
Can anyone help with how i can achieve this please
thanks
Peted
i can use the following
^([\w\.]|\s)*$
to validate a textbox input, this ensure input is limited to
Aplhanumeric characters, full stops and spaces. I have tested this and
it seems to all work, but what i cannot get to function is a way to
have the above yet prevent the textbox ONLY having spaces entered. The
regexp string above will validate input if only spaces are entered an
i dont want that
I need input resticted to that the above exp will allow, in addition,
i need to have a way to test,
IF there is input in the textbox,
(because there maybe NO input)
it is only alpha numeric, with a selection of
punctuation marks allowed and spaces allowed
and that it is NOT consist only of spaces.
Can anyone help with how i can achieve this please
thanks
Peted