M
Mike Owen
Hi,
I am using a ValidationExpression="^[a-zA-Z0-9 '.,]+$" on a
regularexpressionvalidator to restrict what is allowed to be entered in a
MultiLine textbox.
I would also like to allow the user to be able to enter a carriage return,
enabling them to be able to break up the text they enter, but unfortunately
despite all the additional bits that I have tried, e.g. adding \r between the
2 square boxes in the ValidationExpression, nothing seems to work.
How would I change the expression above to allow a CR to be entered? (I
have just thought should I be adding CR & LF not just a CR?).
Thanks, Mike.
I am using a ValidationExpression="^[a-zA-Z0-9 '.,]+$" on a
regularexpressionvalidator to restrict what is allowed to be entered in a
MultiLine textbox.
I would also like to allow the user to be able to enter a carriage return,
enabling them to be able to break up the text they enter, but unfortunately
despite all the additional bits that I have tried, e.g. adding \r between the
2 square boxes in the ValidationExpression, nothing seems to work.
How would I change the expression above to allow a CR to be entered? (I
have just thought should I be adding CR & LF not just a CR?).
Thanks, Mike.