|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
Regular Expression Editor
The Regular Expression Editor enables you to edit the ValidationExpression property of the RegularExpressionValidator control. It offers several predefined formats, such as for telephone numbers and zip codes. You can also edit the format in the text box.
To open the Regular Expression Editor
In Visual Web Developer, create or open an existing .aspx page and switch to Design view.
From the Validation group of the Toolbox, drag a RegularExpressionValidator control onto the page.
Select the control, and in the Properties window, click the ellipsis button () for the ValidationExpression property.
The following table lists the controls that are available in the editor.