Examveda
Examveda

In a regular expression, what does the metacharacter `*` represent?

A. A fixed number of occurrences of the preceding character or group

B. One or more occurrences of the preceding character or group

C. Zero or more occurrences of the preceding character or group

D. Exactly one occurrence of the preceding character or group

Answer: Option C


This Question Belongs to Java Program >> Regular Expressions In Java

Join The Discussion

Related Questions on Regular Expressions in Java