Which is an example of a regular expression?

Explanation:

Both a*b and a+b? are valid regular expressions.

Explore more in Computer Science: