You could use a RegularExpressionValidator with a ValidationExpression of:^20.20.30.\d{1,3}$To learn more about regular expressions, check out the articles at:www.4guysfromrolla.com/.../...larExpressions.shtml