101-500 Exam QuestionsBrowse all questions from this exam

101-500 Exam - Question 58


Which of the following regular expressions represents a single upper-case letter?

Show Answer
Correct Answer: B

The regular expression [A-Z] represents a single upper-case letter. It specifies a character class that includes any character from A to Z, which is the standard notation for upper-case letters in regular expressions.

Discussion

4 comments
Sign in to comment
YaFooOption: B
Aug 14, 2021

A is incorrect because the syntax should be like this [:upper:] This is equal to [A-Z]

Madridi
Dec 26, 2022

CORRECT

MartiFCOption: B
Feb 1, 2022

B is the answer correct.

AmycertOption: B
Feb 5, 2023

B, very easy A is incorrect