Multiple choice technology programming languages

Which validation control would you use to validate a telephone number?

  1. CompareValidator

  2. RangeValidator

  3. RegularExpressionValidator

  4. CustomValidator

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

RegularExpressionValidator is designed for pattern-based validation like telephone numbers that follow specific formats. CompareValidator compares one value to another, RangeValidator checks if a value falls within a numeric range, and CustomValidator requires you to write your own validation logic.