GoConqr has a new look! Let us know what you think.

Module 18 of 33 · Media

The Mohammed's Name problem

Kostas Diakogiannis

The Mohammed's Name problem

FO-2 The Mohammed's Name Problem

Write a single regular expression that accepts these variations of Mohammed's name:

1. Mohammed

2. Mohamad

3. Muhammad

4.Mohamed

Any other version of the name or any other string will be rejected!

Hint: You may want to refresh the alternatives and optional characters knowledge you gained.

Instructions

You must submit an attempt for this quiz to progress. You can submit it after the last question.

Go to the chosen module

Feedback

What is it about?

What do you think of the new look?

How do you like it?