Welcome to the regular expression challenge!


You will be asked 20 questions to test your knowledge of PCRE regular expressions.

There are 2 kinds of questions that will be asked:

  1. MATCH - You are required to provide a regexp that will match exactly the same strings that the question matches.
  2. GROUP - You are required to provide a regexp that will capture exactly the same groups that the question captures.

You must complete each question using the instruction provided.

You must not hard code values to complete the question where using a meta-character would suffice

You may attempt each question as many times as you like, but will not be awarded a point for an incorrect response.

You may only progress to the next question once you have correctly answered the last question.

You may take as long as you need to complete each question.

Good Luck, and have fun!

Start the challenege