Multiple choice technology programming languages

What is used to validate complex string patterns like an e-mail address ?

  1. Extended expressions

  2. Regular expressions

  3. Irregular expressions

  4. Basic expressions

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

Regular expressions provide powerful pattern matching for complex string validation like email addresses, phone numbers, or custom formats. ASP.NET's RegexValidator (or Regex class in System.Text.RegularExpressions) uses regex patterns to validate input against defined rules. Extended, irregular, and basic expressions are not standard terminology for this validation approach.