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 the most robust way to validate complex string patterns like email addresses. They support pattern matching with quantifiers, character classes, anchors, and groups to define intricate validation rules. Options A, C, and D are not standard pattern matching mechanisms in programming.