¿Cómo agrego mis propias expresiones regulares personalizadas al RegularExpressionValidator en Visual Studio?

I have a bunch of regular expressions which I commonly use on WebForms RegularExpressionValidators como el ValidationExpression.

At the moment I need to copy paste the RegEx from similar controls or from a text file. Is there any way to extend the current list of Standard Expressions in the designer Drop Down (and can I delete patterns that I don't use like French phone number, French post code etc)?

Editar Hopefully this picture clarifies the issue

Regex

preguntado el 10 de marzo de 12 a las 13:03

1 Respuestas

I think the easiest way to do so is by adding a normal RegularExpressionValidator and instead of the properties they give you in the ValidationExpression add your own their.

respondido 10 mar '12, 16:03

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.