Vidyalelo
JavaScript · Q32

Classes And Modules

Programming · JavaScript · question 32

Q32

The regular expression to match any one character not between the brackets is

A.
[…]
B.
[^]
C.
[^…]
Answer
D.
[D]

Answer: Option C

Solution

Answer: Option C
Solution:
The [^…] character class is used to match or draw any one character not between the brackets.