Which regular expression sequence that loosely translates to "anything or nothing"?

A)  “?
B)  *+
C)  *. (star dot)
D)  .* (dot star)

Correct Answer :   .* (dot star)


Explanation :

Regular expression is used for searching text or value on the page. In regular expression we use dome predefine special character for searching patterns or text like *, dot, [ ], ?, + etc.

.* regular expression sequences are two-character sequence that translated as “0 or more occurrences of any character” or “anything or nothing.”

Therefore dot star are the correct answer.