logo CodeStepByStep logo


Language/Type: General regular expressions

Write a regular expression that will match each of the following patterns:

Sequences of one or more occurrence of the letter "A"
Sequences of pairs "AB" zero or more times
"GOOGLE" with 2 or more "O" characters, such as "GOOOOGLE", with any capitalization

You must log in before you can solve this problem.

Log In

Need help?

If you do not understand how to solve an exercise or why your solution doesn't work, please contact your TA or instructor.
If something seems wrong with the site (errors, slow performance, incorrect tests, etc.), please

Is there a problem? Contact a site administrator.

©, all rights reserved.