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

Options
- .* (dot star)
- *. (star dot)
- “?
- *+


CORRECT ANSWER : .* (dot star)

Discussion Board
Selenium

Answer: dot star
Solution: 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.


Rohit Srivastava 07-28-2014 05:30 AM

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement